From 866ab1a0396a3cdba3e85a11521ca329c9242823 Mon Sep 17 00:00:00 2001 From: ashwinkumar12345 Date: Wed, 13 Oct 2021 12:13:38 -0700 Subject: [PATCH] first draft --- _security-plugin/configuration/security-admin.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/_security-plugin/configuration/security-admin.md b/_security-plugin/configuration/security-admin.md index ad205190..62d911fb 100755 --- a/_security-plugin/configuration/security-admin.md +++ b/_security-plugin/configuration/security-admin.md @@ -47,6 +47,21 @@ If you use the `-f` argument rather than `-cd`, you can load a single YAML file -key ../../../config/kirk-key.pem ``` +To resolve all environment variables before applying the security configurations, use the `-rev` parameter. + +```bash +./securityadmin.sh -cd ../securityconfig/ \ + -rev \ + -cacert ../../../root-ca.pem \ + -cert ../../../kirk.pem \ + -key ../../../kirk.key.pem +``` + +Here’s an example of an environment variable in the `config.yml` file: + +```yml +password: ${env.LDAP_PASSWORD} +``` ## Configure the admin certificate