Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Encoding of Secrets #194

Merged
merged 3 commits into from
Mar 20, 2023
Merged

Conversation

BroCanDo
Copy link
Contributor

Added support for encoded secrets (#106). This makes sense e.g. in the context of non-UTF-8 encoded certificates, like pfx.
This would allow storing e.g.

  • asymmetric private/public key pairs for Pulsar
  • certificates for Elasticsearch

as base64 encoded strings in Vault.

Since this is my first go with go (pun intended) I would appreciate any feedback.

@hashicorp-cla
Copy link

hashicorp-cla commented Feb 12, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@tomhjp tomhjp left a comment

Choose a reason for hiding this comment

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

Sorry for the delay reviewing - this is super thorough, thanks for including all the tests! LGTM with one minor lint failure that I just pushed a trivial fix for, hope you don't mind. I'll merge once the CI goes green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants