learn-graphql icon indicating copy to clipboard operation
learn-graphql copied to clipboard

fix(v3): update secret command used to store connection string (closes #1033)

Open aeswibon opened this issue 10 months ago • 5 comments

Description

Updates the usage of the secret command to match with the v3 cli.

Related Issues

  • Fixes #1033

Solution

The command should be replaced with:

hasura3 secret set --project <PROJECT_ID_FROM_PREVIOUS_STEP> --environment default --subgraph default --key <KEY> --value <VALUE>

aeswibon avatar Mar 27 '24 21:03 aeswibon

@praveenweb Can you check the PR?

aeswibon avatar Mar 28 '24 17:03 aeswibon

@aeswibon - Thanks for the PR. Will let @robertjdominguez or @seanparkross from the docs team to review since there are ongoing changes with the CLI commands.

praveenweb avatar Mar 28 '24 17:03 praveenweb

Sure, thanks 😊😊

aeswibon avatar Mar 28 '24 17:03 aeswibon

Thanks for this @aeswibon!

The CLI is undergoing another round of changes as we move into beta very soon. So, while the command is out-of-date, your update actually soon will be, too 🙃

We're going to unlist these courses until the full roll-out of beta is complete, but rest assured we'll get this updated, too 🙌

robertjdominguez avatar Mar 28 '24 17:03 robertjdominguez

Okay

aeswibon avatar Mar 28 '24 17:03 aeswibon