1. update the provisioner with a new pub and priv key
step beta ca provisioner update jwkLinda --private-key=/Users/lindabrown/test.priv --public-key=/Users/lindabrown/test.pub
  1. Enter priv key password when prompted

  2. Enter NEW provisioner password when prompted.

  3. Confirm create of new key works on provisioner with new passcode - check!


lindabrown@Lindas-MBP-2 ~ % step beta ca provisioner update jwkLinda --private-key=/Users/lindabrown/test.priv --public-key=/Users/lindabrown/test.pub
No admin credentials found. You must login to execute admin commands.
✔ Please enter admin name/subject (e.g., name@example.com): lindafischerbrown44@gmail.com█
✔ Provisioner: authority-admin (OIDC) [client: 1609591f-3a5d-47eb-a3eb-b28def986d2a]
Your default web browser has been opened to visit:

https://auth.smallstep.com/oidc/linda/auth?client_id=1609591f-3a5d-47eb-a3eb-b28def986d2a&code_challenge=pvII1BraqUjqFJBTCUcmpsFth-A9cKhT9IipAT5BcVc&code_challenge_method=S256&nonce=8024a734d3ecc2d2fd32ccae418626ae4d0c681d08cb742b654c93f4413fb528&redirect_uri=http%3A%2F%2F127.0.0.1%3A10000&response_type=code&scope=openid+email&state=ijvS0XuDDcI1TFBK0eKDW8OOUW9EEVea

Please enter the password to decrypt /Users/lindabrown/test.priv:
Please enter the password to encrypt the private JWK:
-------
Provisioner: jwkLinda (JWK) [kid: 7IHshOtFjrsBcZ0nYwA2Wx98-bg95O_68QkRUobs1_4]
Please enter the password to decrypt the provisioner key: █
✔ CA:https://myssh.linda.ca.smallstep.com
✔ Would you like to overwrite salinda.key [y/n]: y
✔ Would you like to overwrite salinda.crt [y/n]: y
✔ Certificate: salinda.key
✔ Private Key: salinda.crt