collegevine / collegevine/confcrypt

Support a default Key

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Description

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=
... config values below
```
That new key, `file_default_key` should be optional, meaning previous concrypt files should all continue to decrypt.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.