AIOconnect Azure Key Vault API

List of Functions

Definition of Functions

aioconnect.azure_key_vault.vault_get_secret(scope: str, key: str, databricks: Optional[bool] = None)str

Get a secret from an Azure Key Vault.

This function takes a secret by using either Databricks dbutils or Azure Python API libraries.

Parameters
scopestr

The scope used to get the key. If the function is running on Databricks, it is a Databricks Secret Scope, otherwise it is an Azure Key Vault name.

keystr

The name of the secret in a Databricks Secret Scope or Azure Key Vault.

databricksbool = None

Parameter to be deprecated.

Returns
str

Returns the secret as a string.