You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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, thenvaulted 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 dovaulted set --stdin <vault> <varname>
and pipe the value in.The text was updated successfully, but these errors were encountered: