Skip to content

frostmoln_ssh_key (Resource) ​

Manages an SSH key in the Frostmoln platform.

Authoritative scope — who owns what on this resource, declared in internal/scopedecl and machine-checked against the schema.

Create-immutable — name, public_key: the platform stores the key material under its name and has no update route for either — a change re-creates the key.

Example Usage ​

terraform
resource "frostmoln_ssh_key" "example" {
  name       = "my-ssh-key"
  public_key = file(pathexpand("~/.ssh/id_ed25519.pub"))
}

Schema ​

Required ​

  • name (String) The name of the SSH key.
  • public_key (String) The public key content.

Read-Only ​

  • created_at (String) The timestamp when the SSH key was created.
  • fingerprint (String) The fingerprint of the SSH key.
  • id (String) The identifier of the SSH key. Compute identifies keys by name within a tenant, so this equals the key name. Import by name: terraform import frostmoln_ssh_key.<label> <key-name>.