Member Junction
    Preparing search index...

    Azure Key Vault key source provider.

    Retrieves encryption keys from Azure Key Vault secrets. Secrets should contain base64-encoded key material.

    • Keys are stored encrypted at rest in Key Vault
    • Access is controlled by Azure RBAC or Key Vault access policies
    • All operations are logged in Azure Monitor
    • Supports secret versioning and soft-delete
    // In database: KeyLookupValue = 'https://my-vault.vault.azure.net/secrets/mj-encryption-key'
    // Or if AZURE_KEYVAULT_URL is set: KeyLookupValue = 'mj-encryption-key'

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Configuration passed during instantiation. Contains lookupValue and any source-specific additional config.

    Accessors

    Methods

    • Retrieves encryption key material from Azure Key Vault.

      Parameters

      • lookupValue: string

        Secret URL or name (if AZURE_KEYVAULT_URL is set)

      • OptionalkeyVersion: string

        Optional secret version (uses latest if not specified)

      Returns Promise<Buffer>

      Buffer containing the key material

      Error if the secret cannot be retrieved