defaultazurecredential

package
v0.0.0-...-17967aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL