Resource

dcloud_git_ssh_key

An SSH public key of the IAM identity Terraform runs as (the access key's user), for git over SSH. A key can be registered once in the whole installation.

Example Usage

resource "dcloud_git_ssh_key" "deployer" {
  name       = "deployer"
  public_key = file("${path.module}/deployer.pub")
}

Schema

Required

  • name (String) A name to recognise the key by, e.g. the laptop. Up to 64 characters. Changing it replaces the resource.
  • public_key (String) The OpenSSH public key line, e.g. ssh-ed25519 AAAA… comment. Up to 4000 characters. Changing it replaces the resource.

Read-Only

  • fingerprint (String) The key's SHA256 fingerprint.
  • id (String) The resource's id.

Generated from the provider's schema.