provider: add bearer token auth #22

Merged
benvin merged 1 commits from benvin/bearer-token into main 2026-10-16 21:48:44 +11:00
Member

artifactapi is gaining bearer-token (Vault identity-OIDC JWT) verification on config write routes, so the provider needs a way to send a token.

  • add optional sensitive provider attribute token, falling back to ARTIFACTAPI_TOKEN
  • send Authorization: Bearer <token> on every request when set; no header when empty
  • document token in README and examples
artifactapi is gaining bearer-token (Vault identity-OIDC JWT) verification on config write routes, so the provider needs a way to send a token. - add optional sensitive provider attribute `token`, falling back to `ARTIFACTAPI_TOKEN` - send `Authorization: Bearer <token>` on every request when set; no header when empty - document `token` in README and examples
unkin-agent added 1 commit 2026-10-14 22:20:16 +11:00
provider: add bearer token auth
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
517790abef
Author
Member

No findings.

No findings.
benvin merged commit 30a393ae80 into main 2026-10-16 21:48:44 +11:00
benvin deleted branch benvin/bearer-token 2026-10-16 21:48:44 +11:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/terraform-provider-artifactapi#22