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

It is not clear how to create a new "secret value". #68

Open
azovsky opened this issue Feb 26, 2025 · 1 comment
Open

It is not clear how to create a new "secret value". #68

azovsky opened this issue Feb 26, 2025 · 1 comment

Comments

@azovsky
Copy link

azovsky commented Feb 26, 2025

Hi, I'm trying to create a new secret value like terminus secret:site:set <site> <secret-name> <secret-value>, but have an error:

❯ terminus secret:site:set SITE_UUID.dev test_1 val_1
 [error]  An error happened when trying to set the secret.
 [error]  Secret 'test_1' does not exist. You should create the default secret value first.

❯ terminus -v
Terminus 3.6.1

I've looked through all the documentation and can't figure out what I missed.

@kporras07
Copy link
Collaborator

Hi!
Secrets should exist first at site level (that's what is usually referenced as "default value"). So, you should first set it without specifying the environment; then, you can override the value for whatever environment you need to override

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

2 participants