Secrets
Use secrets to conceal sensitive configuration from the deployment manifests.
Last updated
Use secrets to conceal sensitive configuration from the deployment manifests.
Last updated
When deploying applications you often end up specifying sensitive information in your deployment to enable secure database connections, providing API keys and other parameters that you normally wouldn't commit to the codebase. Synpse secrets decouples this configuration from your regular deployment files. Application spec can reference to secrets that were created in the same namespace.
Note: if you update secrets you will need to restart your applications for them to get the updated values.
You can view your existing secrets by selecting the namespace applications and then going to the secrets tab via the top toolbar:
Secrets tab will let you view, created, edit and delete existing secrets:
Click on the "Create Secret" button if you want to add a new secret:
You can also use CLI to create a secret:
Secrets can be referenced as an environment variables in the application spec:
Never commit your secrets to git or GitHub, always reference them from the application spec to improve security.
Secret maximum size is 100Kb
Secret can be used in application deployment by referring it in the spec
File will be mounted to the Docker container and your application can read it from the specified file /path/to/redis.conf.