nscale instances create --ssh-ca-id.
Aliases: ssh-cas, sshca
Subcommands
- list — List SSH certificate authorities
- get — Get SSH certificate authority details
- create — Create a new SSH certificate authority
- delete — Delete an SSH certificate authority
list
List SSH certificate authorities, optionally filtered by organization or project.Flags
| Flag | Description |
|---|---|
—org string | Organization ID |
—project string | Project ID |
—json | Emit the full JSON payload (mutually exclusive with -q) |
-q, —query stringArray | jq filter for value extraction (see Query output with -q) |
Example
get
Get details for a specific SSH certificate authority.Flags
| Flag | Description |
|---|---|
—id string | SSH certificate authority ID |
—org string | Organization ID |
—json | Emit the full JSON payload (mutually exclusive with -q) |
-q, —query stringArray | jq filter for value extraction (see Query output with -q) |
create
Create a new SSH certificate authority. Accepts input from a JSON file or stdin.Flags
| Flag | Description |
|---|---|
—org string | Organization ID |
-f, —file string | Path to a JSON file |
—stdin | Read JSON from standard input |
—dry-run | Preview the request payload without persisting |
-y, —yes | Automatically confirm creation |
—json | Emit the full JSON payload (mutually exclusive with -q) |
-q, —query stringArray | jq filter for value extraction (see Query output with -q) |
Examples
delete
Delete an existing SSH certificate authority.Flags
| Flag | Description |
|---|---|
--id string | SSH certificate authority ID |
--org string | Organization ID |
--dry-run | Preview the request payload without persisting |
-y, --yes | Automatically confirm deletion |
Related
Instances
Bind a certificate authority when creating an instance with
—ssh-ca-id.