Skip to content

Conversation

@hattan
Copy link
Contributor

@hattan hattan commented Jan 9, 2025

This change affects the auth mechanism and specifically introduces the following:

  • If Az.Powershell is connected, skip all auth and use existing connection. This also removes the need to set environment variables if the connection is existing.
  • If environment variables are set, check that subscription id, tenant ip and application id match the current context, if not, throw an error.
  • Remove the need to specify a subscription id for managed identities. It can still be passed it as optional if there is a specific subscription that needs to be used.

Copy link
Contributor

@PabloZaiden PabloZaiden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good, just one comment

@hattan hattan merged commit 4172997 into main Jan 10, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants