A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pkg.go.dev/github.com/Azure/go-autorest/autorest/azure/auth below:

auth package - github.com/Azure/go-autorest/autorest/azure/auth - Go Packages

View Source
const (
	SubscriptionID          = "AZURE_SUBSCRIPTION_ID"
	TenantID                = "AZURE_TENANT_ID"
	AuxiliaryTenantIDs      = "AZURE_AUXILIARY_TENANT_IDS"
	ClientID                = "AZURE_CLIENT_ID"
	ClientSecret            = "AZURE_CLIENT_SECRET"
	CertificatePath         = "AZURE_CERTIFICATE_PATH"
	CertificatePassword     = "AZURE_CERTIFICATE_PASSWORD"
	Username                = "AZURE_USERNAME"
	Password                = "AZURE_PASSWORD"
	EnvironmentName         = "AZURE_ENVIRONMENT"
	Resource                = "AZURE_AD_RESOURCE"
	ActiveDirectoryEndpoint = "ActiveDirectoryEndpoint"
	ResourceManagerEndpoint = "ResourceManagerEndpoint"
	GraphResourceID         = "GraphResourceID"
	SQLManagementEndpoint   = "SQLManagementEndpoint"
	GalleryEndpoint         = "GalleryEndpoint"
	ManagementEndpoint      = "ManagementEndpoint"
)

The possible keys in the Values map.

This section is empty.

NewAuthorizerFromCLI creates an Authorizer configured from Azure CLI 2.0 for local development scenarios.

NewAuthorizerFromCLIWithResource creates an Authorizer configured from Azure CLI 2.0 for local development scenarios.

NewAuthorizerFromEnvironment creates an Authorizer configured from environment variables in the order: 1. Client credentials 2. Client certificate 3. Username password 4. MSI

NewAuthorizerFromEnvironmentWithResource creates an Authorizer configured from environment variables in the order: 1. Client credentials 2. Client certificate 3. Username password 4. MSI

NewAuthorizerFromFile creates an Authorizer configured from a configuration file in the following order. 1. Client credentials 2. Client certificate The path to the configuration file must be specified in the AZURE_AUTH_LOCATION environment variable. resourceBaseURI - used to determine the resource type

NewAuthorizerFromFileWithResource creates an Authorizer configured from a configuration file in the following order. 1. Client credentials 2. Client certificate The path to the configuration file must be specified in the AZURE_AUTH_LOCATION environment variable.

AuthorizerConfig provides an authorizer from the configuration provided.

ClientCertificateConfig provides the options to get a bearer authorizer from a client certificate.

NewClientCertificateConfig creates a ClientCertificateConfig object configured to obtain an Authorizer through client certificate. Defaults to Public Cloud and Resource Manager Endpoint.

Authorizer gets an authorizer object from client certificate.

MultiTenantServicePrincipalToken creates a MultiTenantServicePrincipalToken from client certificate.

ServicePrincipalToken creates a ServicePrincipalToken from client certificate.

ClientCredentialsConfig provides the options to get a bearer authorizer from client credentials.

NewClientCredentialsConfig creates an AuthorizerConfig object configured to obtain an Authorizer through Client Credentials. Defaults to Public Cloud and Resource Manager Endpoint.

Authorizer gets the authorizer from client credentials.

MultiTenantServicePrincipalToken creates a MultiTenantServicePrincipalToken from client credentials.

ServicePrincipalToken creates a ServicePrincipalToken from client credentials.

DeviceFlowConfig provides the options to get a bearer authorizer using device flow authentication.

NewDeviceFlowConfig creates a DeviceFlowConfig object configured to obtain an Authorizer through device flow. Defaults to Public Cloud and Resource Manager Endpoint.

Authorizer gets the authorizer from device flow.

ServicePrincipalToken gets the service principal token from device flow.

EnvironmentSettings contains the available authentication settings.

GetSettingsFromEnvironment returns the available authentication settings from the environment.

GetAuthorizer creates an Authorizer configured from environment variables in the order: 1. Client credentials 2. Client certificate 3. Username password 4. MSI

GetClientCertificate creates a config object from the available certificate credentials. An error is returned if no certificate credentials are available.

GetClientCredentials creates a config object from the available client credentials. An error is returned if no client credentials are available.

GetDeviceFlow creates a device-flow config object from the available client and tenant IDs.

GetMSI creates a MSI config object from the available client ID.

GetSubscriptionID returns the available subscription ID or an empty string.

GetUsernamePassword creates a config object from the available username/password credentials. An error is returned if no username/password credentials are available.

FileSettings contains the available authentication settings.

GetSettingsFromFile returns the available authentication settings from an Azure CLI authentication file.

ClientCertificateAuthorizer creates an authorizer from the available certificate credentials.

ClientCertificateAuthorizerWithResource creates an authorizer from the available certificate credentials and the specified resource.

ClientCredentialsAuthorizer creates an authorizer from the available client credentials.

ClientCredentialsAuthorizerWithResource creates an authorizer from the available client credentials and the specified resource.

GetAuthorizer create an Authorizer in the following order. 1. Client credentials 2. Client certificate resourceBaseURI - used to determine the resource type

GetSubscriptionID returns the available subscription ID or an empty string.

ServicePrincipalTokenFromClientCertificate creates a ServicePrincipalToken from the available certificate credentials.

ServicePrincipalTokenFromClientCertificateWithResource creates a ServicePrincipalToken from the available certificate credentials.

ServicePrincipalTokenFromClientCredentials creates a ServicePrincipalToken from the available client credentials.

ServicePrincipalTokenFromClientCredentialsWithResource creates a ServicePrincipalToken from the available client credentials and the specified resource.

MSIConfig provides the options to get a bearer authorizer through MSI.

NewMSIConfig creates an MSIConfig object configured to obtain an Authorizer through MSI.

Authorizer gets the authorizer from MSI.

ServicePrincipalToken creates a ServicePrincipalToken from MSI.

UsernamePasswordConfig provides the options to get a bearer authorizer from a username and a password.

NewUsernamePasswordConfig creates an UsernamePasswordConfig object configured to obtain an Authorizer through username and password. Defaults to Public Cloud and Resource Manager Endpoint.

Authorizer gets the authorizer from a username and a password.

ServicePrincipalToken creates a ServicePrincipalToken from username and password.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4