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

Need a sample code for workload identity to authenticate to azure batch service. #1280

Open
prpillai opened this issue Mar 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@prpillai
Copy link

prpillai commented Mar 5, 2024

Customer is using workload identity to authenticate to azure batch service. They are referring this example https://github.com/Azure/azure-workload-identity/blob/main/examples/msal-python/main.py in their apps to authenticate using workload identity.

This sample code https://github.com/Azure/azure-workload-identity/blob/main/examples/msal-python/main.py code changes (Python) has been successfully implanted across all the apps that use KeyVault, Service Bus, Storage Account, etc. However, I am unable to migrate one of the app that use Azure Batch Service as I get below error which I am unable to resolve
'MyClientAssertionCredential' object has no attribute 'signed_session'

Are there any plans to provide sample code for Azure Batch Service similar to what’s available for other services?

@prpillai prpillai added the enhancement New feature or request label Mar 5, 2024
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

No branches or pull requests

1 participant