Back up all secrets? #1984
-
I want to back up all my secrets in 1password. Is there a CLI for exporting secret variables? I do not want to use .env files because then I lose being able to easily switch environments. Would be nice for .env files to live in environments. IE: /environment/prod/.env |
Beta Was this translation helpful? Give feedback.
Answered by
VictorioBerra
Apr 3, 2024
Replies: 1 comment
-
I ended up using .env files once I learned they can be referenced in the variables manager. Now I can simply have a script that uploads the .env files to 1password, or parses them and uploads each as its own vault item. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
VictorioBerra
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ended up using .env files once I learned they can be referenced in the variables manager.
Now I can simply have a script that uploads the .env files to 1password, or parses them and uploads each as its own vault item.