Skip to content

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

@aeswibon

Description

@aeswibon

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions