Skip to main content

Module secrets_env

Module secrets_env 

Source
Expand description

Deploy-time mapping of a profile’s secrets.json to environment variables.

load_secrets_json reads the profile’s secrets file, map_secrets_to_env_vars translates the well-known keys to their provider environment-variable names (dropping system-managed keys and advertising custom ones via CUSTOM_SECRETS), and read_signing_key_pem base64-encodes the JWT signing key for transport as the SIGNING_KEY_PEM secret.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Functions§

load_secrets_json
map_secrets_to_env_vars
read_signing_key_pem