Skip to content

Add option to load KMS master key ID from the CREDSTASH_KMS_KEY_ID environment variable#292

Open
alexmbird wants to merge 1 commit intofugue:masterfrom
alexmbird:feat/select-master-key-with-env-var
Open

Add option to load KMS master key ID from the CREDSTASH_KMS_KEY_ID environment variable#292
alexmbird wants to merge 1 commit intofugue:masterfrom
alexmbird:feat/select-master-key-with-env-var

Conversation

@alexmbird
Copy link
Copy Markdown

This PR adds the option to declare the KMS key using an environment variable. If the environment variable is unset, the original alias/credstash default will prevail.

The main use case of this is supporting the use of multiple credstashes in a single AWS account in an configure-and-forget manner.

Bonus: my text editor has automatically stripped trailing spaces from a bunch of lines :)

Copy link
Copy Markdown
Contributor

@jason-fugue jason-fugue 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 the PR! I think this is a good change, but it looks like the whitespace changes + another PR I merged earlier resulted in a conflict. Could you please resolve the conflict so that I can get this merged in?

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.

2 participants