Files
Max Vojtkov a6d8aa8b52 A Terraform provider for Dokploy
Plugin-framework provider covering projects, environments, applications,
Compose stacks, managed databases, domains, mounts, ports, redirects,
basic auth, registries, SSH keys, certificates and backup destinations,
over Dokploy's tRPC-over-REST API.

The shim package exposes the provider to other Go modules, which is how
pulumi-dokploy bridges it.
2026-08-09 12:17:26 +03:00

39 lines
1.3 KiB
Markdown

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dokploy_ssh_key Resource - dokploy"
subcategory: ""
description: |-
An SSH key pair Dokploy uses to clone private Git repositories and to reach remote servers.
~> The private key is stored in Terraform state. Use a state backend with encryption at rest.
~> Dokploy's update endpoint only accepts name and description. Changing either key forces a new resource.
---
# dokploy_ssh_key (Resource)
An SSH key pair Dokploy uses to clone private Git repositories and to reach remote servers.
~> The private key is stored in Terraform state. Use a state backend with encryption at rest.
~> Dokploy's update endpoint only accepts `name` and `description`. Changing either key forces a new resource.
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `name` (String) Display name of the key pair.
- `private_key` (String, Sensitive) PEM-encoded private key.
- `public_key` (String) OpenSSH-formatted public key.
### Optional
- `description` (String) Free-form description.
### Read-Only
- `created_at` (String) RFC 3339 timestamp of when the key was created.
- `id` (String) Unique SSH key identifier.
- `last_used_at` (String) RFC 3339 timestamp of when the key was last used, if ever.