Documentation Index
Fetch the complete documentation index at: https://docs.orbitra.atomo.ai/llms.txt
Use this file to discover all available pages before exploring further.
orbitra.commons.secrets.client
Secrets management via Azure User Key Vaults.
Functions
get_secrets_client
key_vault: Explicit vault name; falls back to client settings.environment: Target environment (e.g. “prod”, “dev”). Defaults to “prod”.credential: Optional Azure credential; if None,
- A handler class containing an authenticated Azure Key Vault secrets client.
ValueError: If no vault name can be resolved from params or settings.
Classes
OrbitraSecretsClient
Handler class for Azure Key Vault secrets operations, using authenticated SecretClient internally.
Methods:
delete_secret
name: The secret name.
KeyError: If the secret does not exist.PermissionError: If the caller lacks Key Vault delete access.
get_secret
name: The secret name.
- SecretStr | None: The secret value, or None if the secret has no value.
KeyError: If the secret does not exist.PermissionError: If the caller lacks Key Vault access.
list_secrets
- list[str]: Sorted list of secret names.
PermissionError: If the caller lacks Key Vault list access.
write_secret
name: The secret name.value: The secret value to store.
PermissionError: If the caller lacks Key Vault write access.