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 a default Key #32

Open
ChrisCoffey opened this issue Jun 28, 2019 · 0 comments
Open

Support a default Key #32

ChrisCoffey opened this issue Jun 28, 2019 · 0 comments

Comments

@ChrisCoffey
Copy link
Contributor

While Confcrypt supports multiple keys per-file, often times we only use a single key for the entire file. In that situation, the steps of tracking down a key and including it on the command line are unnecessary friction.

I'd like to extend the existing file format and CLI with the concept of a default key. That should look something like this:

confcrypt aws new --name Test --type String --value foobar --use-default-key test.econf

Inside the file, you'd find:

file_default_key=<key path/id here>
... config values below

That new key, file_default_key should be optional, meaning previous concrypt files should all continue to decrypt.

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

No branches or pull requests

1 participant