Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: api key read errors out when getting keys for users#171

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@ilia-medvedev-codefresh
Copy link
Contributor

What

Fix codefresh_api_key resource - failing with error because of an API behaviour change

Why

When refreshing state that includes an API key the following error appeared
image

This is due to the fact the the token request was run without impersonation. Previously this used to return the proper token, but this is not the correct behavior. Because tokens are user and account scoped a switched must be made to the correct user before reading the token. This PR fixes this on the provider and does the switch the correct user before reading the token.

Notes

Checklist

@ilia-medvedev-codefresh
Copy link
ContributorAuthor

/test

@ilia-medvedev-codefresh
Copy link
ContributorAuthor

/test

@ilia-medvedev-codefreshilia-medvedev-codefresh merged commitf217344 intomasterSep 9, 2025
5 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@yaroslav-codefreshyaroslav-codefreshAwaiting requested review from yaroslav-codefreshyaroslav-codefresh is a code owner

@denis-codefreshdenis-codefreshAwaiting requested review from denis-codefreshdenis-codefresh is a code owner

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@ilia-medvedev-codefresh

[8]ページ先頭

©2009-2025 Movatter.jp