certificates/authority
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
..
admin Provisioner webhooks (#1001) 2022-09-29 19:16:26 -05:00
administrator Improve policy error handling code coverage 2022-04-24 16:29:31 +02:00
config Write updated CA configuration after migrating provisioners 2022-10-11 14:12:06 +02:00
internal/constraints Fix some more extra white spaces 2022-09-23 10:52:24 -07:00
policy Standardize linting file and fix or ignore lots of linting errors 2022-09-20 16:35:41 -07:00
provisioner Fix err assert linter warnings - upgrade outdated package 2022-10-12 16:32:26 -07:00
testdata Add special handling for *json.UnmarshalTypeError 2022-01-12 11:15:39 +01:00
admins.go exposing authority configuration for provisioner cli commands 2022-04-25 10:23:07 -07:00
authority.go Add --admin-subject flag to ca init 2022-10-14 16:03:41 +02:00
authority_test.go Add GetID() and add authority to initial context 2022-05-10 16:51:09 -07:00
authorize.go Standardize linting file and fix or ignore lots of linting errors 2022-09-20 16:35:41 -07:00
authorize_test.go Provisioner webhooks (#1001) 2022-09-29 19:16:26 -05:00
config.go Admin level API for provisioner mgmt v1 2021-07-02 19:05:17 -07:00
export.go Use go.step.sm/crypto/kms 2022-08-08 17:58:18 -07:00
linkedca.go Add support for storing or sending attestation data to linkedca 2022-10-06 12:22:19 -07:00
options.go Disable initialization log output if started with --quiet 2022-10-11 12:19:48 +02:00
policy.go Standardize linting file and fix or ignore lots of linting errors 2022-09-20 16:35:41 -07:00
policy_test.go Standardize linting file and fix or ignore lots of linting errors 2022-09-20 16:35:41 -07:00
provisioners.go Add support for storing or sending attestation data to linkedca 2022-10-06 12:22:19 -07:00
provisioners_test.go Fix err assert linter warnings - upgrade outdated package 2022-10-12 16:32:26 -07:00
root.go Simplify statuscoder error generators. 2020-01-28 13:29:40 -08:00
root_test.go Fix errors.As linter warnings 2022-09-22 00:04:31 -07:00
ssh.go Provisioner webhooks (#1001) 2022-09-29 19:16:26 -05:00
ssh_test.go Fix err assert linter warnings - upgrade outdated package 2022-10-12 16:32:26 -07:00
tls.go Add support for storing or sending attestation data to linkedca 2022-10-06 12:22:19 -07:00
tls_test.go Add support for storing or sending attestation data to linkedca 2022-10-06 12:22:19 -07:00
version.go Add missing version.go file. 2020-01-28 13:28:17 -08:00
webhook.go Provisioner webhooks (#1001) 2022-09-29 19:16:26 -05:00
webhook_test.go Provisioner webhooks (#1001) 2022-09-29 19:16:26 -05:00