Azure / azure-sdk-for-cpp

This repository is for active development of the Azure SDK for C++. For consumers of the SDK we recommend visiting our versioned developer docs at https://azure.github.io/azure-sdk-for-cpp.
MIT License
171 stars 118 forks source link

Add support for providing Resource ID within ManagedIdentityCredential #5648

Open ahsonkhan opened 1 month ago

ahsonkhan commented 1 month ago

Other language SDKs (such as Java/.NET/GoLang) have the ability to pass in the ResourceIdentifier parameter to the ManagedIdentityCredential ctor. https://github.com/Azure/azure-sdk-for-net/blob/790d2faf82ae49e37d829ef53bfa92695037a377/sdk/identity/Azure.Identity/api/Azure.Identity.netstandard2.0.cs#L317

Add a similar capability for C++.

RickWinter commented 1 month ago

@ahsonkhan Is this OID feature that only python currently supports?

ahsonkhan commented 1 month ago

No, that's object ID. This is different, it is about resource ID. I have added more details to the issue description.