Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting additional HTTP headers #245

Merged
merged 4 commits into from
Jul 14, 2021
Merged

Conversation

Mongey
Copy link
Contributor

@Mongey Mongey commented Mar 9, 2021

This PR adds the ability to set HTTP headers for Vault API requests made by the Terraform Vault provider. A sample configuration:

provider "consul" {
  address = "https://consul"

  headers {
    name = "header1"
    value = "valueofheader1"
  }

  headers {
    name = "X-Special-Header"
    value = "specialheadervalue"
  }
}

@Mongey Mongey force-pushed the master branch 2 times, most recently from 30fd1e8 to e5d1023 Compare June 1, 2021 17:33
@Mongey Mongey marked this pull request as ready for review June 1, 2021 22:20
@remilapeyre remilapeyre changed the title Allow setting HTTP headers Allow setting additional HTTP headers Jul 14, 2021
@remilapeyre remilapeyre merged commit f4a8a3c into hashicorp:master Jul 14, 2021
@remilapeyre
Copy link
Collaborator

Thanks for your contribution @Mongey!

@Mongey Mongey mentioned this pull request Jul 26, 2021
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.

None yet

2 participants