Procedures

Automation procedures in the Azure Key Vault BDK Book.

to get (key vaults)

FILTER - CAPABLE

Lists all Key Vaults accessible to the authenticated principal.

Output Concepts

Concept
Description
Type

A list of Azure Key Vault references matching the filter expression (if provided).

azure key vault reference

Examples

Get all the key vaults in an Azure subscription

get some key vaults

Get a specific key vault in an Azure subscription

get a key vault whose name is "bdk-test-keyvault"

to get a (secret) from a key vault

Gets a secret from a Key Vault.

Input Concepts

Concept
Description
Type
Required
Default Value

The Key Vault from which to retrieve the secret.

azure key vault reference

Yes

secret name

The name of the secret to retrieve from the Key Vault.

text

Yes

Output Concepts

Concept
Description
Type

secret

The retrieved secret's value

text

Examples

Get a secret from a Key Vault

get a key vault whose name is "bdk-test-keyvault"
get a secret from the key vault with
    the secret name is "api-key"

to list (secrets) in a key vault

Lists all secrets in a Key Vault.

Input Concepts

Concept
Description
Type
Required
Default Value

The Key Vault from which to list secrets.

azure key vault reference

Yes

Output Concepts

Concept
Description
Type

secrets

A list of secret names

text

Examples

List all secrets in a Key Vault

get a key vault whose name is "bdk-test-keyvault"
list secrets in the key vault

Last updated

Was this helpful?