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

✨ Extend Berglas vault provider with opts. #751

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

preslavgerchev
Copy link
Contributor

Add WithBucket and WithKmsKeyId opts to set the bucket and kms key to be used when using berglas for storing secrets. The vault now also returns the berglas key by using the passed in value and returning it in a formatted manner. This lets us inject the bucket to which we want data to be stored in an easier way, rather than relying on a passed in string.

Copy link
Member

@chris-rock chris-rock left a comment

Choose a reason for hiding this comment

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

Great addition @preslavgerchev

@chris-rock chris-rock merged commit b4789f4 into main Jan 9, 2023
@chris-rock chris-rock deleted the preslav/berglas-bucket-opt branch January 9, 2023 20:58
@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants