hcp_vault_cluster_admin_token (Resource)

The Vault cluster admin token resource generates an admin-level token for the HCP Vault cluster.

This resource saves a single admin token per Vault cluster and auto-refreshes the token when it is about to expire. Destroying this resource does not invalidate the admin token.

Example Usage

resource "hcp_vault_cluster_admin_token" "example" {
  cluster_id = "test-vault-cluster"
}

Schema

Required

Optional

Read-Only

Nested Schema for timeouts

Optional: