-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(conf) allow *_cert and *_cert_key to be stored in environment va…
…riables and vaults ### Summary Allow several `kong.conf` values to be stored in vaults or environment variables: - `ssl_cert` - `ssl_cert_key` - `admin_ssl_cert` - `admin_ssl_cert_key` - `status_ssl_cert` - `status_ssl_cert_key` - `cluster_cert` - `cluster_cert_key` - `client_ssl_cert` - `client_ssl_cert_key` #### Usage The following is possible after this is commit is merged: ```bash CERT=$(<cert.crt) \ # normal environment variable intialized from file KONG_SSL_CERT="{vault://env/cert}" \ # a secret reference using env vault KONG_SSL_CERT_KEY="$(<cert.key)" \ # reading content of file to env var kong start ```
- Loading branch information
Showing
2 changed files
with
96 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters