Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Secrets

Package version

Interface representing a Secrets.

Hierarchy

  • Secrets

Implemented by

Index

Methods

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.

    Parameters

    Returns Promise<SecretsCreateOrUpdateResponse>

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.

    Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the vault belongs.

    • vaultName: string

      The name of the vault.

    • secretName: string

      The name of the secret.

    • Optional options: SecretsGetOptionalParams

      The options parameters.

    Returns Promise<SecretsGetResponse>

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.

    Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the vault belongs.

    • vaultName: string

      The name of the vault.

    • Optional options: SecretsListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<Secret>

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.

    Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the vault belongs.

    • vaultName: string

      Name of the vault

    • secretName: string

      Name of the secret

    • parameters: SecretPatchParameters

      Parameters to patch the secret

    • Optional options: SecretsUpdateOptionalParams

      The options parameters.

    Returns Promise<SecretsUpdateResponse>

Generated using TypeDoc