Skip to content

Add ephemeral temporalcloud_apikey resource#396

Open
bechols wants to merge 3 commits intomainfrom
issue-306-ephemeral-apikey
Open

Add ephemeral temporalcloud_apikey resource#396
bechols wants to merge 3 commits intomainfrom
issue-306-ephemeral-apikey

Conversation

@bechols
Copy link
Copy Markdown
Contributor

@bechols bechols commented Jan 31, 2026

Adds ephemeral resource for API keys (Terraform 1.10+).

Keys created during plan/apply and deleted when terraform finishes.

Fixes #306

Adds an ephemeral variant of the API key resource that creates temporary
API keys which are never stored in Terraform state. The key is created
during Open and automatically deleted during Close.

This enables secure workflows where API keys are passed to other
resources (like AWS Secrets Manager) using write-only attributes,
ensuring sensitive credentials never appear in plan or state files.

- Added EphemeralResourceData to provider Configure
- Added nil checks for client in Open/Close methods
@bechols bechols requested a review from a team as a code owner January 31, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Add the ephemeral variant of temporalcloud_apikey

1 participant