Skip to content

v0.35.0

Compare
Choose a tag to compare
@manicminer manicminer released this 16 Nov 23:58
· 543 commits to main since this release
03e3055
  • Auth package refactoring (#123)

    • Remove the auth.Api type and instead use environments.Api directly
    • Use the resource URI instead of the friendly name for Azure CLI auth tokens
  • Add the AuxiliaryTokens() method to the auth.Authorizer interface to support obtaining tokens for additional tenants (#123)

  • Expand support in auth.AutorestAuthorizerWrapper to support any autorest.Authorizer (#123)

    • autorest.BearerAuthorizer and autorest.MultiTenantBearerAuthorizer are fully supported with access tokens, refresh tokens and expiry
    • Other authorizers can supply access tokens only
  • Support auxiliary tenants with client secret and client certificate authorizers (#123)

  • Implement the autorest.Authorizer interface with auth.CachedAuthorizer (which wraps all supported Authorizers) (#123)

  • Export environment configs for more management plane APIs (#123)

    • Resource Manager
    • Batch Management
    • Data Lake
    • Gallery
    • KeyVault
    • Operational Insights
    • OSS RDBMS
    • Service Bus
    • Service Management (Azure Classic)
    • SQL Database
    • Storage
    • Synapse
  • Refactor and tidy up tests for the msgraph package (#123)

  • Say goodbye to Azure Germany 🇩🇪 (#123)

⚠️ BREAKING CHANGES:

  • The signatures for auth.NewClientCertificateAuthorizer, auth.NewClientSecretAuthorizer and auth.NewAzureCliAuthorizer have changed to accommodate passing additional tenant IDs for multi-tenant authorization (#123)