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

v3: update secret command used to store connection string #1033

Open
aeswibon opened this issue Mar 27, 2024 · 0 comments · May be fixed by #1034
Open

v3: update secret command used to store connection string #1033

aeswibon opened this issue Mar 27, 2024 · 0 comments · May be fixed by #1034

Comments

@aeswibon
Copy link

Bug

Description

The command to create a secret is incompatible with the latest version. The latest version CLI doesn't have --project-id as a flag to pass onto the secret command and instead wants a few new attributes to be passed on as required.

The current command:

hasura3 secret set --project-id <PROJECT_ID_FROM_PREVIOUS_STEP> <KEY>=<VALUE>

Solution

The command should be replaced with:

hasura3 secret set --project <PROJECT_ID_FROM_PREVIOUS_STEP> --environment default --subgraph default --key <KEY> --value <VALUE>
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

Successfully merging a pull request may close this issue.

1 participant