Hasura CLI: hasura platform:ssh-key add

Add your SSH key


Add a SSH key to the cluster, to be able to access it via git

hasura platform:ssh-key add [flags]


# Add SSH key from ~/.ssh/id_rsa.pub to default cluster
$ hasura ssh-key add
# Add SSH key to cluster 'hasura' from a file called 'keyfile'
$ hasura ssh-key add -f keyfile -c hasura
# Add SSH key to the cluster from stdin
$ cat ./keyfile | hasura ssh-key add -f -


-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 add

Options inherited from parent commands

--project string   hasura project directory where the commands should be executed. (default: current directory)


Auto generated by spf13/cobra