doppler
apex_utils.doppler
#
pull_secret
cached
#
Pull a secret from Doppler.
The secret is first checked in the local environment, and if not found, the secret
is pulled from Doppler using the doppler token DOPPLER_SDK_TOKEN.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
The name of the secret to pull. |
required |
project
|
str
|
The project to pull the secret from. Defaults to "apex". |
'apex'
|
config
|
str
|
The config to pull the secret from. Defaults to "prd". |
'prd'
|
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
The value of the secret. |