Skip to content

Conversation

@F21
Copy link

@F21 F21 commented Aug 3, 2023

This PR adds the openssh_comment attribute to allow the addition of a comment to openssh keys.

Closes #227

@aalvarezaph
Copy link

Any news? Would be useful for scenarios like #227 (comment)

@srgustafson8
Copy link

Agreed - exactly the same use case I have. Can @bendbennett @bflad help (as the most prolific contributors)?

@socratesx-asimov
Copy link

Come on guys please, this is what we also need.

@F21
Copy link
Author

F21 commented Aug 7, 2025

Can this be reviewed?

Copy link
Member

@stephybun stephybun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR @F21! Overall this looks great, there are two minor comments which would be good to have addressed. Once that's done and the PR is rebased I can run the CI on this and we should be good to go!

@F21
Copy link
Author

F21 commented Oct 11, 2025

Thanks for the review @stephybun ! I removed the openssh_comment attribute from data.tls_public_key as it doesn't make sense, so the openssh comment for public keys is now parsed from the private key.

I also implemented openssh_comment in the ephemeral versions of the resources.

@F21 F21 force-pushed the openssh-comment branch from a533ab6 to c2b3166 Compare October 11, 2025 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow specifying OpenSSH Private Key Comment

7 participants