-
Notifications
You must be signed in to change notification settings - Fork 37
Description
The documentation of step-ca specifies, that it is possible to use the JWK provisioner without the encryptedKey specified in ca.json and the user / system that wants to provision a certificate, needs to specify the key instead of just the password for the encryptedKey.
https://smallstep.com/docs/step-ca/provisioners#jwk
encryptedKey*: is the encrypted private key used to sign a token. It's a JWE compact string containing the JWK representation of the private key. This value is not necessary for CA operation, but is provided for the convenience of clients. Without the encryptedKey attribute, the private key must be provided by the client, using the --key flag.
Even though it should not pose a security risk to have the encryptedKey exposed in the /provisioner endpoint (because of the really strong encryption), it would be nice, if there would be a possibility to configure the provisioner with the key on the step-issuer side.
It should be possible, to specify the actual key and not just the password for the key in the same secret and specify the secret key in the provisioner config.