dcloud git ssh-keys create

Register an SSH public key

IAM git:RegisterSshKeyChanges state

Synopsis

dcloud git ssh-keys create --name name --public-key publicKey

Flags

  • --nameRequired

    string

    A name to recognise the key by, e.g. the laptop

    Constraints: 1-64 chars

  • --public-keyRequired

    string

    The OpenSSH public key line, e.g. `ssh-ed25519 AAAA… comment`

    Constraints: 1-4000 chars

Example

dcloud git ssh-keys create --name example --public-key example

Generated from the API description, the same one the API checks requests against and the CLI is built from.