Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthorizer ¶
func NewAuthorizer() (autorest.Authorizer, error)
NewAuthorizer returns an autorest.Authorizer that uses the DefaultAzureCredential from the Azure SDK for Go.
DefaultAzureCredential uses the following credential types in order in version 1.3 or higher.
- [EnvironmentCredential]
- [WorkloadIdentityCredential], if environment variable configuration is set by the Azure workload identity webhook. Use [WorkloadIdentityCredential] directly when not using the webhook or needing more control over its configuration.
- [ManagedIdentityCredential]
- [AzureCLICredential]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.