question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[QUERY] Microsoft.Azure.ContainerRegistry supports TokenCredential?

See original GitHub issue

Query/Question How can we help?

Is it possible to update Microsoft.Azure.ContainerRegistry, specifically AzureContainerRegistryClient, to accept TokenCredential? Currently it only accepts TokenCredentials (or rather ServiceClientCredentials).

Environment:

  • Name and version of the Library package used: Microsoft.Azure.ContainerRegistry 1.0.0-preview2
  • Hosting platform or OS and .NET runtime version (dotnet --info output for .NET Core projects): Windows 10 .NET 5.0.204
  • IDE and version : Visual Studio 2019

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JamieMageecommented, Jul 6, 2021

@annelo-msft that looks like what I’m after. I didn’t look hard enough 😅 Thank you!

1reaction
annelo-msftcommented, Jul 6, 2021

To my knowledge, changes are no longer being made to Microsoft.Azure.ContainerRegistry.

There is a new Azure SDK package that takes an Azure.Core TokenCredential – you can find it here: https://www.nuget.org/packages/Azure.Containers.ContainerRegistry/

@northtyphoon @AlexGhiondea FYI

Read more comments on GitHub >

github_iconTop Results From Across the Web

Authenticate with an Azure container registry
Authentication options for a private Azure container registry, ... Yes, Use only from select Azure services that support managed identities ...
Read more >
az acr token credential
Generate or replace one or both passwords of a token for an Azure Container Registry. For using token and password to access a...
Read more >
az acr token
Create a token associated with a scope map for an Azure Container Registry. az acr token credential. Manage credentials of a token for...
Read more >
Permissions to repositories in Azure Container Registry
This article describes how to create tokens and scope maps to manage access to specific repositories in your container registry.
Read more >
az acr
Create an agent pool for an Azure Container Registry. ... Query the content in an ACR using Kusto Query Language. ... az acr...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found