SSH Keys

class terrasnek.ssh_keys.TFCSSHKeys(instance_url, org_name, headers, well_known_paths, verify, log_level)

SSH Keys API Docs

create(payload)

POST /organizations/:organization_name/ssh-keys

SSH Keys Create API Doc Reference

Create Sample Payload

destroy(ssh_key_id)

DELETE /ssh-keys/:ssh_key_id

SSH Keys Destroy API Doc Reference

list()

GET /organizations/:organization_name/ssh-keys

SSH Keys List API Doc Reference

required_entitlements()

Terraform Cloud Entitlements required for endpoint to work.

show(ssh_key_id)

GET /ssh-keys/:ssh_key_id

SSH Keys Show API Doc Reference

terraform_cloud_only()

Return True if this endpoint is only for Terraform Cloud, else False.

terraform_enterprise_only()

Return True if this endpoint is only for Terraform Enterprise, else False.

update(ssh_key_id, payload)

PATCH /ssh-keys/:ssh_key_id

SSH Keys Update API Doc Reference

Update Sample Payload