Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadCredentials ¶
LoadCredentials reads credentials from a ~/.azure/credentials.json file. See the accompanying credentials_sample.json file for an example.
Note: Storing crendentials in a local file must be secured and not shared. It is used here simply to reduce code in the examples.
func NewServicePrincipalTokenFromCredentials ¶
func NewServicePrincipalTokenFromCredentials(c map[string]string, scope string) (*azure.ServicePrincipalToken, error)
NewServicePrincipalTokenFromCredentials creates a new ServicePrincipalToken using values of the passed credentials map.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.