Skip to main content
SSH certificate authorities (CAs) let you sign the host keys used by your compute instances so clients can trust them without manually pinning fingerprints. Once a CA is created, you can bind it to an instance via 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

FlagDescription
—org stringOrganization ID
—project stringProject ID
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

Example


get

Get details for a specific SSH certificate authority.

Flags

FlagDescription
—id stringSSH certificate authority ID
—org stringOrganization ID
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq 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

FlagDescription
—org stringOrganization ID
-f, —file stringPath to a JSON file
—stdinRead JSON from standard input
—dry-runPreview the request payload without persisting
-y, —yesAutomatically confirm creation
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

Examples


delete

Delete an existing SSH certificate authority.

Flags


Instances

Bind a certificate authority when creating an instance with —ssh-ca-id.