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

First class support for multiline environment variables #141

Open
javawizard opened this issue Apr 8, 2019 · 0 comments
Open

First class support for multiline environment variables #141

javawizard opened this issue Apr 8, 2019 · 0 comments

Comments

@javawizard
Copy link
Contributor

javawizard commented Apr 8, 2019

I've been working with a lot of projects lately that require me to include PEM-formatted RSA private keys in environment variables. See for example GitHub's documentation on creating a new GitHub App. In order to manage these with Vaulted, I need to be able to add environment variables whose values contain newlines to a vault.

The only way I've found to do this is to vaulted dump the environment, edit the JSON by hand, then vaulted load it back up. That's a pain. It'd be nice if Vaulted had first-class support for that use case.

Possible way to implement this: Add a command like vaulted set <vault> <varname> <value> that preserves newlines in <value>. Bonus points if you can do vaulted set --stdin <vault> <varname> and pipe the value 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

No branches or pull requests

1 participant