Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAuthorizer ¶
func GetAuthorizer(env azure.Environment) (*autorest.BearerAuthorizer, error)
GetAuthorizer gets an Azure Service Principal authorizer. This func assumes "AZURE_TENANT_ID", "AZURE_CLIENT_ID", "AZURE_CLIENT_SECRET" are set as environment variables.
func GetEnvVarOrExit ¶
GetEnvVarOrExit returns the value of specified environment variable or terminates if it's not defined.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.