Skip to content

feiskyer/azure-auth-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

azure-auth-go

Package azure-auth-go provides a library for authorizing with Azure.

Usage

import (
    auth "github.com/Azure/azure-auth-go"
)

authConfig = auth.AzureAuthConfig{
    Cloud: "AzurePublicCloud",
    UseManagedIdentityExtension: true,
}
servicePrincipalToken, err := auth.GetAzureServicePrincipalToken(&authConfig)
if err != nil {
    // Handle error
}

// continue with other logics

License

See LICENSE file.

About

Go library for authorizing with Azure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages