Hasura CLI: hasura platform:secret update¶
Update secret for a key
Synopsis¶
Update the secret value for a given key
hasura platform:secret update [key.name] [value] [flags]
Examples¶
# To update a secret:
$ hasura secrets update auth.msg91.key thisisthevalue
# Add a new secret:
$ hasura secrets update new.secret.key newsecretvalue
Options¶
-c, --cluster string alias of the cluster to be contacted
-f, --file string Filename to read the value from. User - to read from stdin. Ignored if value is provided as argument
-h, --help help for update
Options inherited from parent commands¶
--project string hasura project directory where the commands should be executed. (default: current directory)
Was this page helpful?