Commit graph

23 commits

Author SHA1 Message Date
Mariano Cano
072ba4227c Add deployment type to config.
This field is ignored except for the start of the ca. If the type
is linked and the token is not passed, it will fail with an error.
2021-08-10 17:07:15 -07:00
Mariano Cano
47a30f1524 Add JWK provisioner to generic config.
Fix linter errors.
2021-08-06 14:58:03 -07:00
Mariano Cano
f643af7095 Update onboarding flow with new pki package. 2021-08-05 15:57:48 -07:00
Mariano Cano
5344f42f21 Allow to use the environment variable STEP_CA_TOKEN
For helm charts we want to store the tokens in a secret and load
it from an environment variable.
2021-08-02 11:33:02 -07:00
Mariano Cano
ac363d7824 Add --password-file and --issuer-password-file flags to export. 2021-07-28 15:21:48 -07:00
Mariano Cano
dc1ec18b52 Create a way to export ca configurations. 2021-07-26 19:01:56 -07:00
Mariano Cano
7c0faab73e Remove now unused step-ca login. 2021-07-20 12:57:34 -07:00
Mariano Cano
8fb5340dc9 Use a token at start time to configure linkedca.
Instead of using `step-ca login` we will use a new token provided
as a flag to configure and start linkedca. Certificates will be kept
in memory and refreshed automatically.
2021-07-19 19:28:06 -07:00
Mariano Cano
f7e09af9df Implement the login command.
The login commands creates a new certificate for the linked ca.
This certificate will be used to sync data with the linkedca
endpoint.
2021-07-12 15:28:13 +02:00
max furman
7b5d6968a5 first commit 2021-05-19 15:20:16 -07:00
Mariano Cano
bdeb0ccd7c Add support for the flag --issuer-password-file
The new flag allows to pass a file with the password used to decrypt
the key used in RA mode.
2021-03-24 14:53:19 -07:00
Mariano Cano
2b4b902975 Add initial support for step ca init with cloud cas.
Fixes smallstep/cli#363
2020-11-03 12:44:28 -08:00
Mariano Cano
40d0596b71 Use smallstep/cli-utils instead of smallstep/cli 2020-10-29 13:10:03 -07:00
Mariano Cano
e83e47a91e Use sshutil and randutil from go.step.sm/crypto. 2020-08-10 11:26:51 -07:00
Mariano Cano
8f17a46be0 Fix formatting. 2020-02-12 12:45:07 -08:00
Joël Gähwiler
445fcbe621 added resolver 2020-02-01 13:00:39 +02:00
Mariano Cano
019f679189 Create templates path, and remove unnecessary arguments. 2020-01-28 13:28:16 -08:00
Mariano Cano
d3361e7a58 Add UsageText to virtual command. 2019-09-26 17:03:27 -07:00
Mariano Cano
d0e5976c06 Use production URL and add description. 2019-09-24 12:15:41 -07:00
Mariano Cano
50db67e589 Make dep work copying pki package from cli.
TODO: refactor and use this package from the cli.
2019-09-13 12:11:46 -07:00
Mariano Cano
a383669d54 Improve onboard messages. 2019-09-12 15:32:48 -07:00
Mariano Cano
c060ceef78 Show error if POST fails. 2019-09-12 13:01:14 -07:00
Mariano Cano
5013f7ffe0 Move ca commands to its own package. 2019-09-12 12:51:07 -07:00