certificates/pki
Herman Slatman d981b9e0dc
Add --admin-subject flag to ca init
The first super admin subject can now be provided through the
`--admin-subject` flag when initializing a CA.

It's not yet possible to configure the subject of the first
super admin when provisioners are migrated from `ca.json` to the
database. This effectively limits usage of the flag to scenarios
in which the provisioners are written to the database immediately,
so when `--remote-management` is enabled. It currently also doesn't
work with Helm deployments, because there's no mechanism yet to
pass this type of option to the Helm chart.

This commit partially addresses https://github.com/smallstep/cli/issues/697
2022-10-14 16:03:41 +02:00
..
testdata/helm Add default SSHPOP provisioner to Helm template output 2022-10-14 14:07:13 +02:00
helm.go Add default SSHPOP provisioner to Helm template output 2022-10-14 14:07:13 +02:00
helm_test.go Add --admin-subject flag to ca init 2022-10-14 16:03:41 +02:00
pki.go Add --admin-subject flag to ca init 2022-10-14 16:03:41 +02:00
templates.go mv pkg config -> step 2021-11-16 21:47:14 -08:00