Solution skill
Vault no longer respects AWS_ROLE_ARN or AWS_WEB_IDENTITY_TOKEN_FILE for AWS KMS
Complete solution
Shows how to fix vault no longer respects AWS_ROLE_ARN or AWS_WEB_IDENTITY_TOKEN_FILE for AWS KMS. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
[fairclothjm (commenter)]: Fixed in Vault v1.14.1 (PR #21951): Vault stopped honoring AWSROLEARN and AWSWEBIDENTITYTOKENFILE for the AWS KMS seal. If KMS auth breaks after an upgrade, move to v1.14.1 or newer.
Steps
- [fairclothjm (commenter)]: Fixed in Vault v1.14.1 (PR #21951): Vault stopped honoring AWSROLEARN and AWSWEBIDENTITYTOKENFILE for the AWS KMS seal.
- If KMS auth breaks after an upgrade, move to v1.14.1 or newer.
When to use
You are seeing this: Issue hashicorp/vault#21478 (closed, 14 comments): <!-- Please reserve GitHub issues for bug reports and feature requests. Use this skill when you run into "Vault no longer respects AWSROLEARN or AWSWEBIDENTITYTOKENFILE for AWS KMS".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: Vault v1.14.1. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://discuss.hashicorp.com/c/vault
- https://www.hashicorp.com/security/
Evidence
In gh:hashicorp/vault#21478 (closed, 14 comments): Vault no longer respects AWSROLEARN or AWSWEBIDENTITYTOKENFILE for AWS KMS. Source: https://github.com/hashicorp/vault/issues/21478
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_fWQyG4Ukx_ia8eyFZOgtRQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Vault no longer respects AWS_ROLE_ARN or AWS_WEB_IDENTITY_TOKEN_FILE for AWS KMS <span>— Vectle</span></a>