Project secrets act as a global secure secret store for each project on Hop. Secrets can be referenced in deployments as environment variables and will automatically be populated when a container starts
^[a-zA-Z0-9_]{1,64}$
${SECRETS.NAME}
(where NAME
is the secret key
name) and Hop will automatically replace it with the value when a container
starts.
hop deploy
hop deploy
, you can specify environment variables with -e
or
--env
, so: for example, if I wanted to reference a project secret named
REDIS_URI
in my deployment, I’d execute the following command:
${SECRETS.NAME}