npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/azure_keyvault_secrets

v4.0.0

Published

DataFire integration for KeyVaultManagementClient

Downloads

4

Readme

@datafire/azure_keyvault_secrets

Client library for KeyVaultManagementClient

Installation and Usage

npm install --save @datafire/azure_keyvault_secrets
let azure_keyvault_secrets = require('@datafire/azure_keyvault_secrets').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

The Azure management API provides a RESTful set of web services that interact with Azure Key Vault.

Actions

Secrets_List

The List operation gets information about the secrets in a vault. NOTE: This API is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.

azure_keyvault_secrets.Secrets_List({
  "resourceGroupName": "",
  "vaultName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the Resource Group to which the vault belongs.
    • vaultName required string: The name of the vault.
    • $top integer: Maximum number of results to return.
    • api-version required string: Client Api Version.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Secrets_Get

Gets the specified secret. NOTE: This API is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.

azure_keyvault_secrets.Secrets_Get({
  "resourceGroupName": "",
  "vaultName": "",
  "secretName": "",
  "api-version": "",
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the Resource Group to which the vault belongs.
    • vaultName required string: The name of the vault.
    • secretName required string: The name of the secret.
    • api-version required string: Client Api Version.
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Secrets_Update

Update a secret in the specified subscription. NOTE: This API is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.

azure_keyvault_secrets.Secrets_Update({
  "resourceGroupName": "",
  "vaultName": "",
  "secretName": "",
  "api-version": "",
  "parameters": null,
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the Resource Group to which the vault belongs.
    • vaultName required string: Name of the vault
    • secretName required string: Name of the secret
    • api-version required string: Client Api Version.
    • parameters required SecretPatchParameters
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Secrets_CreateOrUpdate

Create or update a secret in a key vault in the specified subscription. NOTE: This API is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.

azure_keyvault_secrets.Secrets_CreateOrUpdate({
  "resourceGroupName": "",
  "vaultName": "",
  "secretName": "",
  "api-version": "",
  "parameters": null,
  "subscriptionId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the Resource Group to which the vault belongs.
    • vaultName required string: Name of the vault
    • secretName required string: Name of the secret
    • api-version required string: Client Api Version.
    • parameters required SecretCreateOrUpdateParameters
    • subscriptionId required string: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Output

Definitions

Attributes

  • Attributes object: The object attributes managed by the KeyVault service.
    • created integer: Creation time in seconds since 1970-01-01T00:00:00Z.
    • enabled boolean: Determines whether the object is enabled.
    • exp integer: Expiry date in seconds since 1970-01-01T00:00:00Z.
    • nbf integer: Not before date in seconds since 1970-01-01T00:00:00Z.
    • updated integer: Last updated time in seconds since 1970-01-01T00:00:00Z.

Secret

  • Secret object: Resource information with extended details.
    • properties required SecretProperties
    • id string: The Azure Resource Manager resource ID for the key vault.
    • location required string: The supported Azure location where the key vault should be created.
    • name string: The name of the key vault.
    • tags object: The tags that will be assigned to the key vault.
    • type string: The resource type of the key vault.

SecretAttributes

  • SecretAttributes: The secret management attributes.
    • created integer: Creation time in seconds since 1970-01-01T00:00:00Z.
    • enabled boolean: Determines whether the object is enabled.
    • exp integer: Expiry date in seconds since 1970-01-01T00:00:00Z.
    • nbf integer: Not before date in seconds since 1970-01-01T00:00:00Z.
    • updated integer: Last updated time in seconds since 1970-01-01T00:00:00Z.

SecretCreateOrUpdateParameters

  • SecretCreateOrUpdateParameters object: Parameters for creating or updating a secret
    • properties required SecretProperties
    • tags object: The tags that will be assigned to the secret.

SecretListResult

  • SecretListResult object: List of secrets
    • nextLink string: The URL to get the next set of secrets.
    • value array: The list of secrets.

SecretPatchParameters

  • SecretPatchParameters object: Parameters for patching a secret

SecretPatchProperties

  • SecretPatchProperties object: Properties of the secret
    • attributes SecretAttributes
    • contentType string: The content type of the secret.
    • value string: The value of the secret.

SecretProperties

  • SecretProperties object: Properties of the secret
    • attributes SecretAttributes
    • contentType string: The content type of the secret.
    • secretUri string: The URI to retrieve the current version of the secret.
    • secretUriWithVersion string: The URI to retrieve the specific version of the secret.
    • value string: The value of the secret. NOTE: 'value' will never be returned from the service, as APIs using this model are is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.