forked from TrueCloudLab/certificates
Merge pull request #1201 from smallstep/herman/docker-remote-management
Add env vars for enabling Remote Management and ACME provisioner
This commit is contained in:
commit
9007e2ef75
1 changed files with 6 additions and 0 deletions
|
@ -49,6 +49,12 @@ function step_ca_init () {
|
||||||
if [ -n "${DOCKER_STEPCA_INIT_SSH}" ]; then
|
if [ -n "${DOCKER_STEPCA_INIT_SSH}" ]; then
|
||||||
setup_args=("${setup_args[@]}" --ssh)
|
setup_args=("${setup_args[@]}" --ssh)
|
||||||
fi
|
fi
|
||||||
|
if [ -n "${DOCKER_STEPCA_INIT_ACME}" ]; then
|
||||||
|
setup_args=("${setup_args[@]}" --acme)
|
||||||
|
fi
|
||||||
|
if [ -n "${DOCKER_STEPCA_INIT_REMOTE_MANAGEMENT}" ]; then
|
||||||
|
setup_args=("${setup_args[@]}" --remote-management)
|
||||||
|
fi
|
||||||
step ca init "${setup_args[@]}"
|
step ca init "${setup_args[@]}"
|
||||||
mv $STEPPATH/password $PWDPATH
|
mv $STEPPATH/password $PWDPATH
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue