Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Keys

Package version

Interface representing a Keys.

Hierarchy

  • Keys

Implemented by

Index

Methods

createIfNotExist

  • Creates the first version of a new key if it does not exist. If it already exists, then the existing key is returned without any write operations being performed. This API does not create subsequent versions, and does not update existing keys.

    Parameters

    • resourceGroupName: string

      The name of the resource group which contains the specified key vault.

    • vaultName: string

      The name of the key vault which contains the key to be created.

    • keyName: string

      The name of the key to be created.

    • parameters: KeyCreateParameters

      The parameters used to create the specified key.

    • Optional options: KeysCreateIfNotExistOptionalParams

      The options parameters.

    Returns Promise<KeysCreateIfNotExistResponse>

get

  • Gets the current version of the specified key from the specified key vault.

    Parameters

    • resourceGroupName: string

      The name of the resource group which contains the specified key vault.

    • vaultName: string

      The name of the vault which contains the key to be retrieved.

    • keyName: string

      The name of the key to be retrieved.

    • Optional options: KeysGetOptionalParams

      The options parameters.

    Returns Promise<KeysGetResponse>

getVersion

  • Gets the specified version of the specified key in the specified key vault.

    Parameters

    • resourceGroupName: string

      The name of the resource group which contains the specified key vault.

    • vaultName: string

      The name of the vault which contains the key version to be retrieved.

    • keyName: string

      The name of the key version to be retrieved.

    • keyVersion: string

      The version of the key to be retrieved.

    • Optional options: KeysGetVersionOptionalParams

      The options parameters.

    Returns Promise<KeysGetVersionResponse>

list

  • Lists the keys in the specified key vault.

    Parameters

    • resourceGroupName: string

      The name of the resource group which contains the specified key vault.

    • vaultName: string

      The name of the vault which contains the keys to be retrieved.

    • Optional options: KeysListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<Key>

listVersions

  • Lists the versions of the specified key in the specified key vault.

    Parameters

    • resourceGroupName: string

      The name of the resource group which contains the specified key vault.

    • vaultName: string

      The name of the vault which contains the key versions to be retrieved.

    • keyName: string

      The name of the key versions to be retrieved.

    • Optional options: KeysListVersionsOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<Key>

Generated using TypeDoc