Hasura CLI: hasura platform:ssh-key

Manage SSH keys on a cluster

Synopsis

List, add or remove SSH keys on a cluster. SSH keys gives you access to the cluster so that you can push code and configuration

Alias: ssh-keys, ssh-key

Examples

# List all SSH keys present on the cluster
$ hasura ssh-key list
# Add a new SSH key to the cluster (~/.ssh/id_rsa.pub is taken)
$ hasura ssh-key add
# Add a new SSH key to the cluster from a file called 'keyfile'
$ hasura ssh-key add -f keyfile
# Add a new SSH key to the cluster from stdin
$ cat ./keyfile | hasura ssh-key add -f -
# Remove a SSH key 'user@localhost' from a cluster
$ hasura ssh-key remove user@localhost

Options

-h, --help   help for platform:ssh-key

Options inherited from parent commands

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

SEE ALSO

Auto generated by spf13/cobra