amoorion.vault.default

env backend: the .env setup, secrets as environment variables.

bluesky/password is read from AMOORION_SECRET_BLUESKY_PASSWORD. Meant for development and tests; real secrets belong in one of the other backends.

Classes

EnvVault(link)

Secrets in AMOORION_SECRET_* variables: for development and sandboxes, not real accounts.

class amoorion.vault.default.EnvVault(link)[source]

Bases: Vault

Secrets in AMOORION_SECRET_* variables: for development and sandboxes, not real accounts.

Parameters:

link (VaultLink)

static variable(name)[source]

The variable of a secret: x/api-key is AMOORION_SECRET_X_API_KEY.

Parameters:

name (str)

Return type:

str

get(name)[source]

The variable’s value; the error names the variable to set.

Parameters:

name (str)

Return type:

str