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
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:
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