AzureKeyVault (version 1.0.3)

AzureKeyVault: Azure Key Vault endpoint class

Description

Class representing the client endpoint for a key vault, exposing methods for working with it. Use the [key_vault] function to instantiate new objects of this class.

Usage

AzureKeyVault

Arguments

Format

An object of class R6ClassGenerator of length 25.

Fields

  • keys: A sub-object for working with encryption keys stored in the vault. See keys.

  • secrets: A sub-object for working with secrets stored in the vault. See secrets.

  • certificates: A sub-object for working with certificates stored in the vault. See certificates.

  • storage: A sub-object for working with storage accounts managed by the vault. See storage.

See Also

key_vault, keys, secrets, certificates, storage

Azure Key Vault documentation, Azure Key Vault API reference

Examples

Run this code
# NOT RUN {
key_vault("mykeyvault")
key_vault("https://mykeyvault.vault.azure.net")

# authenticating as a service principal
key_vault("mykeyvault", tenant="myaadtenant", app="app_id", password="password")

# authenticating with an existing token
token <- AzureAuth::get_azure_token("https://vault.azure.net", "myaadtenant",
                                    app="app_id", password="password")
key_vault("mykeyvault", token=token)

# }

Run the code above in your browser using DataCamp Workspace