#How do I load a secret into the container from a host env variable?

1 messages · Page 1 of 1 (latest)

native cedar
#

Question - it's not super clear exactly what needs to happen to load a secret into the container from an existing host env variable

For example, in the Python SDK:

`secret_id = await client.secret('my super secret').id()

client.container()
.with_secret_variable("NAME_OF_ENV_VARIABLE_IN_CONTAINER", secret_id)`

Where does the value of the secret actually get set here? Isn't the ID just some arbitrary identifier?