Skip to content

Add ephemeral complement #508

@tcldr

Description

@tcldr

Terraform CLI and Provider Versions

Terraform 1.11.2
http v3.4.5

Use Cases or Problem Statement

Some services require the generation of one-time tokens that can be automated via the http data source. For example, the OpenStack provider accepts a token input:

provider "openstack" {
  ...
  user_id = jsondecode(data.http.token.response_body).token.user.id
  token = data.http.token.response_headers["X-Subject-Token"]
}

However, this retains the http's data source output in the Terraform state file.

Proposal

It would be great if we could expose an ephemeral http complement to the http data source that would keep credentials generated via this mechanism secure.

How much impact is this issue causing?

High

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions