Terraform provider
sazabi_secret_key
Terraform resource for a Sazabi secret key.
Manages a Sazabi secret key. The plaintext value is returned only at creation and stored in sensitive state; the API never returns it again.
Arguments
| Attribute | Type | Behavior | Description |
|---|---|---|---|
name | string | Required | Key name (1-100 characters). |
project_id | string | Optional | Scope the key to a project. Omit for an organization-wide key. Immutable. |
expires_at | string | Optional | Expiry as an RFC 3339 timestamp. |
value | string | Computed, Sensitive | The plaintext key, available only at creation. Empty for imported keys. |
created_at | string | Computed | Creation timestamp (RFC 3339). |
id | string | Computed | Key ID. |
Import
terraform import sazabi_secret_key.example sk_...