> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ankra.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ankra credentials

> Manage credentials

## ankra credentials

Commands to list, view, validate, and delete credentials.

## ankra credentials delete

Delete a credential

```bash theme={null}
ankra credentials delete <credential_id> [flags]
```

**Flags**

| Flag    | Default | Description                  |
| ------- | ------- | ---------------------------- |
| `--yes` | `false` | Skip the confirmation prompt |

## ankra credentials digitalocean

Commands to list and create DigitalOcean API credentials and SSH key credentials.

## ankra credentials digitalocean create

Create an DigitalOcean API credential

```bash theme={null}
ankra credentials digitalocean create [flags]
```

**Flags**

| Flag     | Default | Description                |
| -------- | ------- | -------------------------- |
| `--name` |         | Credential name (required) |

## ankra credentials digitalocean list

List DigitalOcean API credentials

```bash theme={null}
ankra credentials digitalocean list [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |

## ankra credentials digitalocean ssh-key

Manage SSH key credentials

## ankra credentials digitalocean ssh-key create

Create an SSH key credential. Either provide a public key or generate a new keypair.

Examples:
ankra credentials digitalocean ssh-key create --name my-key --generate
ankra credentials digitalocean ssh-key create --name my-key --public-key "ssh-ed25519 AAAA..."

```bash theme={null}
ankra credentials digitalocean ssh-key create [flags]
```

**Flags**

| Flag           | Default | Description                |
| -------------- | ------- | -------------------------- |
| `--generate`   | `false` | Generate a new SSH keypair |
| `--name`       |         | Credential name (required) |
| `--public-key` |         | SSH public key             |

## ankra credentials digitalocean ssh-key list

List SSH key credentials

```bash theme={null}
ankra credentials digitalocean ssh-key list [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |

## ankra credentials get

Get details of a credential by its ID or by its name (as shown in `ankra credentials list`).

```bash theme={null}
ankra credentials get <credential_id|name> [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |

## ankra credentials hetzner

Commands to list and create Hetzner API credentials and SSH key credentials.

## ankra credentials hetzner create

Create a Hetzner API credential

```bash theme={null}
ankra credentials hetzner create [flags]
```

**Flags**

| Flag     | Default | Description                |
| -------- | ------- | -------------------------- |
| `--name` |         | Credential name (required) |

## ankra credentials hetzner list

List Hetzner API credentials

```bash theme={null}
ankra credentials hetzner list [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |

## ankra credentials hetzner ssh-key

Manage SSH key credentials

## ankra credentials hetzner ssh-key create

Create an SSH key credential. Either provide a public key or generate a new keypair.

Examples:
ankra credentials hetzner ssh-key create --name my-key --generate
ankra credentials hetzner ssh-key create --name my-key --public-key "ssh-ed25519 AAAA..."

```bash theme={null}
ankra credentials hetzner ssh-key create [flags]
```

**Flags**

| Flag           | Default | Description                |
| -------------- | ------- | -------------------------- |
| `--generate`   | `false` | Generate a new SSH keypair |
| `--name`       |         | Credential name (required) |
| `--public-key` |         | SSH public key             |

## ankra credentials hetzner ssh-key list

List SSH key credentials

```bash theme={null}
ankra credentials hetzner ssh-key list [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |

## ankra credentials list

List all credentials

```bash theme={null}
ankra credentials list [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |
| `--provider`     |         | Filter by provider (e.g., github)                     |

## ankra credentials morpheus

Commands to list and create HPE Morpheus API credentials and SSH key credentials.

## ankra credentials morpheus create

Create an HPE Morpheus API credential. The API access token is collected
via a masked prompt, never on the command line.

An optional SSH jumphost lets the platform reach a Morpheus API that is
not directly routable; pass --jumphost-host together with
\--jumphost-private-key-file (port defaults to 22, username to root).

Examples:
ankra credentials morpheus create --name my-morpheus --api-url [https://morpheus.example](https://morpheus.example)
ankra credentials morpheus create --name my-morpheus --api-url [https://morpheus.example](https://morpheus.example) \
\--jumphost-host 203.0.113.10 --jumphost-private-key-file \~/.ssh/id\_ed25519

```bash theme={null}
ankra credentials morpheus create [flags]
```

**Flags**

| Flag                          | Default | Description                                                                                |
| ----------------------------- | ------- | ------------------------------------------------------------------------------------------ |
| `--api-url`                   |         | HPE Morpheus API URL, e.g. [https://morpheus.example](https://morpheus.example) (required) |
| `--jumphost-host`             |         | SSH jumphost address used to reach the API                                                 |
| `--jumphost-port`             | `22`    | SSH jumphost port                                                                          |
| `--jumphost-private-key-file` |         | Path to the SSH private key for the jumphost                                               |
| `--jumphost-username`         | `root`  | SSH jumphost username                                                                      |
| `--name`                      |         | Credential name (required)                                                                 |
| `--tls-insecure`              | `false` | Skip TLS certificate verification for the API URL                                          |

## ankra credentials morpheus list

List HPE Morpheus API credentials

```bash theme={null}
ankra credentials morpheus list [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |

## ankra credentials morpheus ssh-key

Manage SSH key credentials

## ankra credentials morpheus ssh-key create

Create an SSH key credential. Either provide a public key or generate a new keypair.

Examples:
ankra credentials morpheus ssh-key create --name my-key --generate
ankra credentials morpheus ssh-key create --name my-key --public-key "ssh-ed25519 AAAA..."

```bash theme={null}
ankra credentials morpheus ssh-key create [flags]
```

**Flags**

| Flag           | Default | Description                |
| -------------- | ------- | -------------------------- |
| `--generate`   | `false` | Generate a new SSH keypair |
| `--name`       |         | Credential name (required) |
| `--public-key` |         | SSH public key             |

## ankra credentials morpheus ssh-key list

List SSH key credentials

```bash theme={null}
ankra credentials morpheus ssh-key list [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |

## ankra credentials ovh

Commands to list and create OVH API credentials and SSH key credentials.

## ankra credentials ovh create

Create an OVH API credential. You will be prompted for the required secrets.

Generate your OVH API credentials at [https://api.ovh.com/createToken/](https://api.ovh.com/createToken/) with
GET, POST, PUT, DELETE rights on /cloud/project/\* and /cloud/project.

Examples:
ankra credentials ovh create --name my-ovh-cred --project-id \<project-id>

```bash theme={null}
ankra credentials ovh create [flags]
```

**Flags**

| Flag           | Default | Description                     |
| -------------- | ------- | ------------------------------- |
| `--name`       |         | Credential name (required)      |
| `--project-id` |         | OVH Cloud project ID (required) |

## ankra credentials ovh list

List OVH API credentials

```bash theme={null}
ankra credentials ovh list [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |

## ankra credentials ovh ssh-key

Manage SSH key credentials for OVH

## ankra credentials ovh ssh-key create

Create an SSH key credential. Either provide a public key or generate a new keypair.

Examples:
ankra credentials ovh ssh-key create --name my-key --generate
ankra credentials ovh ssh-key create --name my-key --public-key "ssh-ed25519 AAAA..."

```bash theme={null}
ankra credentials ovh ssh-key create [flags]
```

**Flags**

| Flag           | Default | Description                |
| -------------- | ------- | -------------------------- |
| `--generate`   | `false` | Generate a new SSH keypair |
| `--name`       |         | Credential name (required) |
| `--public-key` |         | SSH public key             |

## ankra credentials ovh ssh-key list

List SSH key credentials

```bash theme={null}
ankra credentials ovh ssh-key list [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |

## ankra credentials proxmox

Commands to list and create Proxmox VE API credentials and SSH key credentials.

## ankra credentials proxmox create

Create a Proxmox VE API credential. The API token secret is collected
via a masked prompt, never on the command line.

An optional SSH jumphost lets the platform reach a Proxmox VE API that is
not directly routable; pass --jumphost-host together with
\--jumphost-private-key-file (port defaults to 22, username to root).

Examples:
ankra credentials proxmox create --name my-lab --api-url [https://pve.example:8006](https://pve.example:8006) --token-id root\@pam!ankra
ankra credentials proxmox create --name my-lab --api-url [https://pve.example:8006](https://pve.example:8006) --token-id root\@pam!ankra \
\--jumphost-host 203.0.113.10 --jumphost-private-key-file \~/.ssh/id\_ed25519

```bash theme={null}
ankra credentials proxmox create [flags]
```

**Flags**

| Flag                          | Default | Description                                                                              |
| ----------------------------- | ------- | ---------------------------------------------------------------------------------------- |
| `--api-url`                   |         | Proxmox VE API URL, e.g. [https://pve.example:8006](https://pve.example:8006) (required) |
| `--jumphost-host`             |         | SSH jumphost address used to reach the API                                               |
| `--jumphost-port`             | `22`    | SSH jumphost port                                                                        |
| `--jumphost-private-key-file` |         | Path to the SSH private key for the jumphost                                             |
| `--jumphost-username`         | `root`  | SSH jumphost username                                                                    |
| `--name`                      |         | Credential name (required)                                                               |
| `--tls-insecure`              | `false` | Skip TLS certificate verification for the API URL                                        |
| `--token-id`                  |         | Proxmox VE API token ID, e.g. root\@pam!ankra (required)                                 |

## ankra credentials proxmox list

List Proxmox VE API credentials

```bash theme={null}
ankra credentials proxmox list [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |

## ankra credentials proxmox ssh-key

Manage SSH key credentials

## ankra credentials proxmox ssh-key create

Create an SSH key credential. Either provide a public key or generate a new keypair.

Examples:
ankra credentials proxmox ssh-key create --name my-key --generate
ankra credentials proxmox ssh-key create --name my-key --public-key "ssh-ed25519 AAAA..."

```bash theme={null}
ankra credentials proxmox ssh-key create [flags]
```

**Flags**

| Flag           | Default | Description                |
| -------------- | ------- | -------------------------- |
| `--generate`   | `false` | Generate a new SSH keypair |
| `--name`       |         | Credential name (required) |
| `--public-key` |         | SSH public key             |

## ankra credentials proxmox ssh-key list

List SSH key credentials

```bash theme={null}
ankra credentials proxmox ssh-key list [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |

## ankra credentials upcloud

Commands to list and create UpCloud API credentials and SSH key credentials.

## ankra credentials upcloud create

Create an UpCloud API credential

```bash theme={null}
ankra credentials upcloud create [flags]
```

**Flags**

| Flag     | Default | Description                |
| -------- | ------- | -------------------------- |
| `--name` |         | Credential name (required) |

## ankra credentials upcloud list

List UpCloud API credentials

```bash theme={null}
ankra credentials upcloud list [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |

## ankra credentials upcloud ssh-key

Manage SSH key credentials

## ankra credentials upcloud ssh-key create

Create an SSH key credential. Either provide a public key or generate a new keypair.

Examples:
ankra credentials upcloud ssh-key create --name my-key --generate
ankra credentials upcloud ssh-key create --name my-key --public-key "ssh-ed25519 AAAA..."

```bash theme={null}
ankra credentials upcloud ssh-key create [flags]
```

**Flags**

| Flag           | Default | Description                |
| -------------- | ------- | -------------------------- |
| `--generate`   | `false` | Generate a new SSH keypair |
| `--name`       |         | Credential name (required) |
| `--public-key` |         | SSH public key             |

## ankra credentials upcloud ssh-key list

List SSH key credentials

```bash theme={null}
ankra credentials upcloud ssh-key list [flags]
```

**Flags**

| Flag             | Default | Description                                           |
| ---------------- | ------- | ----------------------------------------------------- |
| `-o`, `--output` |         | Output format: json or yaml (default: human-readable) |

## ankra credentials validate

Validate a credential name

```bash theme={null}
ankra credentials validate <name>
```
