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

feat: Add remote container registry identity token support #1124

Merged
merged 3 commits into from
Feb 21, 2024

Conversation

HofmeisterAn
Copy link
Collaborator

What does this PR do?

The PR adds support of the identitytoken token to the Base64 authentication provider. If an auths node key contains the identitytoken node, Testcontainers will use it to authenticate against the private container registry.

Why is it important?

According to the Microsoft docs, this is a common way to authenticate against the Azure Container Registry and is necessary in some cases. For example, this is a simple mechanism to authenticate against ACR in a CI environment (apart from the Docker login tasks for Azure DevOps or GitHub).

Related issues

Follow-ups

  • Include additional documentation regarding private container registry authentication.

@HofmeisterAn HofmeisterAn added the enhancement New feature or request label Feb 21, 2024
Copy link

netlify bot commented Feb 21, 2024

Deploy Preview for testcontainers-dotnet ready!

Name Link
🔨 Latest commit 02a647b
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-dotnet/deploys/65d644ae840131000854f760
😎 Deploy Preview https://deploy-preview-1124--testcontainers-dotnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@HofmeisterAn HofmeisterAn merged commit 8aee376 into develop Feb 21, 2024
14 checks passed
@HofmeisterAn HofmeisterAn deleted the feature/841-add-identitytoken-support branch February 21, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: Support identitytoken based authentication (OAuth2)
1 participant