Skip to content
Français

AzureSecretSourceOptions

import type { AzureSecretSourceOptions } from "@elie-laloum/outpost/secrets/azure";
  • clientRequired
    Pick<SecretClient, "getSecret">
    Caller-owned Azure SecretClient with the chosen vault URL and host credentials. Only getSecret is used, with abortSignal; client ownership stays with the caller.
  • secretsRequired
    Readonly<Record<string, AzureSecretReference>>
    Mapping from environment identifiers to vault names and optional versions, copied at construction and checked for the full selection before reading.
import type { SecretClient } from "@azure/keyvault-secrets";

export interface AzureSecretSourceOptions {
  readonly client: Pick<SecretClient, "getSecret">;
  readonly secrets: Readonly<Record<string, AzureSecretReference>>;
}