Skip to content

dynamic new user with ssh certbased auth #391

Answered by maraino
chomezski asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @chomezski: The open-source implementation provides a "rudimentary" way to create new users on the fly. Although it works this is not "supported" and the documentation for it was removed

The way it works is that when you create a new certificate you can create at the same time a provisioner certificate that contains a useradd command, although this is configurable.

For example, if I run step ssh certificate with the --add-user flag:

$ step ssh certificate -f --add-user [email protected] jane
✔ Provisioner: [email protected] (JWK) [kid: xxx]
✔ Please enter the password to decrypt the provisioner key:
✔ CA: https://localhost:9000
Please enter the password to encrypt the private key:
✔ Pr…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tashian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants