How to set the SSH user certificate duration #1118
-
I'm using an Azure OIDC provisioner to manage SSH certificates for users and I've noticed the certificates are valid for 16 hours. Not sure if that would be configured in step or Azure? Any suggestions greatly appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
That's odd.
Note that there can be a If you're still having trouble, could you post a bit more detail on your current configuration? |
Beta Was this translation helpful? Give feedback.
-
Sorry, I was being dim, I had set defaultHostSSHCertDuration and not defaultUserSSHCertDuration It's working a treat now I've read the instructions properly! |
Beta Was this translation helpful? Give feedback.
That's odd.
Changing the default and max user SSH cert duration should work.
Under the OIDC provisioner's
claims
property, the defaults are:Note that there can be a
claims
block on the authority, and on each individual provisioner, and the provisioner'sclaims
block will override the authority'sclaims
block.If you're still having trouble, could you post a bit more detail on your current configuration?