Skip to content

[8.4] Log unsuccessful attempts to get credentials from web identity tokens (#88241)#89946

Merged
arteam merged 1 commit intoelastic:8.4from
arteam:backport/8.4/pr-88241
Sep 9, 2022
Merged

[8.4] Log unsuccessful attempts to get credentials from web identity tokens (#88241)#89946
arteam merged 1 commit intoelastic:8.4from
arteam:backport/8.4/pr-88241

Conversation

@arteam
Copy link
Copy Markdown
Contributor

@arteam arteam commented Sep 8, 2022

Backports the following commits to 8.4:

…elastic#88241)

Currently, we only verify that local environment for web identity tokens is correctly set up, but we don't verify whether it's
possible to exchange the token to credentials from the STS. If we can't get credentials from the STS, we silently fall back
to the EC2 credentials provider. Let's try to log the web identity token auth errors, so the users get a clear message in the logs in case the STS is unavailable for the ES server.
@arteam arteam added :Distributed/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) >enhancement backport Team:Distributed Meta label for distributed team. labels Sep 8, 2022
@arteam arteam merged commit 5ebaefa into elastic:8.4 Sep 9, 2022
@arteam arteam deleted the backport/8.4/pr-88241 branch September 9, 2022 07:54
@arteam arteam added :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs and removed :Distributed/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) labels Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement Team:Distributed Meta label for distributed team. v8.4.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants