Skip to content

Support Azure Managed Identity authentication to azure#93

Closed
daviditkin wants to merge 7 commits intoSpecterOps:mainfrom
daviditkin:feature-managed-identity-auth
Closed

Support Azure Managed Identity authentication to azure#93
daviditkin wants to merge 7 commits intoSpecterOps:mainfrom
daviditkin:feature-managed-identity-auth

Conversation

@daviditkin
Copy link
Contributor

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
Contributor 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