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

[Feature] Add credential provider for Azure Github OIDC #307

Merged
merged 8 commits into from
Jul 11, 2024

Conversation

renaudhartert-db
Copy link
Contributor

@renaudhartert-db renaudhartert-db commented Jul 5, 2024

Changes

This PR adds a CredentialsProvider to authenticate with Azure from a Github action using OIDC. The implementation echoes the one in the Go and Python SDKs.

Tests

Most of the new code paths are covered by the test. Note that I'm adding the org.json library to help building JSON object in a concise way. The library is fairly mature and part of the Android SDK.

@renaudhartert-db renaudhartert-db marked this pull request as ready for review July 8, 2024 08:28
@renaudhartert-db renaudhartert-db changed the title Add credential provider for Azure Github OIDC [Feature] Add credential provider for Azure Github OIDC Jul 10, 2024
Copy link
Contributor

@tanmay-db tanmay-db left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@renaudhartert-db renaudhartert-db added this pull request to the merge queue Jul 11, 2024
Merged via the queue into main with commit a114599 Jul 11, 2024
10 checks passed
@renaudhartert-db renaudhartert-db deleted the rh/github-oidc-azure-auth branch July 11, 2024 10:59
@tanmay-db tanmay-db mentioned this pull request Jul 12, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jul 12, 2024
## 0.27.1

### New Features and Improvements
* Specify proxy auth explicitly when using system proxy
([#300](#300)).
* Accept any `HttpRequest` instead of `HttpUriRequest` in
`CommonHttpClient`
([#305](#305)).
* Add credential provider for Azure Github OIDC
([#307](#307)).

### Internal Changes
* Add Release tag and Workflow Fix
([#309](#309)).
* Improve Changelog by grouping changes
([#308](#308)).
* Test parsing of error messages with `int` error codes
([#303](#303)).
* Run AccountClientIT test only for aws-prod-ucacct
([#311](#311)).
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.

2 participants