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

Support Azure Managed Identity authentication to azure #93

Closed

Conversation

daviditkin
Copy link

conf.json supports the managed-identity boolean property. When true, managed identity authentication will be used.

Refactored authentication logic out of RestClient into Authenticator along with AuthStrategy(s) including ManagedIdentityAuthStrategy. I did this because I didn't want to add more if/else logic to the RestClient than is already there.

GenericAuthStrategy is just the original collection of authentication logic that already existed. It could be broken up into additional AuthStrategy types.

Token was modified to handle either int or string integer json values for the expiration times. See IntOrStringInt.

@daviditkin
Copy link
Author

recheck

@daviditkin daviditkin changed the title Support Azure Managed Identity authentication Support Azure Managed Identity authentication to azure Dec 15, 2024
@daviditkin daviditkin closed this Dec 15, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Dec 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant