Registry / cloud / azure-go-autorest-autorest-azure-auth

azure-go-autorest-autorest-azure-auth

JSON →
librarygogounverified

Package auth provides authentication helpers for Azure services using the Azure Autorest framework.

go get github.com/Azure/go-autorest/autorest/azure/auth
INSTALL
IMPORT
SIG · AZURE-GO-AUTOREST-
A
azure-go-autorest-autorest-azure-auth
cloudgo
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

auth
github.com/Azure/go-autorest/autorest/azure/auth

Create an authorizer from environment variables for Azure API calls.

package main import ( "github.com/Azure/go-autorest/autorest/azure/auth" "github.com/Azure/go-autorest/autorest" ) func main() { authorizer, err := auth.NewAuthorizerFromEnvironment() if err != nil { panic(err) } // Use authorizer with Azure SDK clients _ = authorizer }
Debug
Known issues
breakingThis package is part of the legacy go-autorest; consider using the newer Azure SDK for Go (azidentity).
fix
Use github.com/Azure/azure-sdk-for-go/sdk/azidentity for new projects.
affects: >=0.0.0
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
OpenAI (training)
1
Resources
azure-go-autorest-autorest-azure-auth — go get azure-go-autorest-autorest-azure-auth · libregistry