[egulu CLI reference](../index.md) / [egulu ssh-keys](index.md)

# egulu ssh-keys generate

POST /v1/projects/{project}/locations/{location}/sshKeys:generate

```sh
egulu ssh-keys generate [options]
```

## API operation

[SshKeys_generate](../../api/sshkeys/SshKeys_generate.md): `POST /v1/projects/{project}/locations/{location}/sshKeys:generate` (sshkeys module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--algorithm` | value | no | algorithm |
| `--comment` | value | no | comment |
| `--display-name` | value | no | displayName |
| `--expire-time` | value | no | expireTime |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--ssh-key-id` | value | no | sshKeyId |

The [global options](../index.md) apply too.
