v3: update secret command used to store connection string
aeswibon opened this issue · 0 comments
aeswibon commented
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>