Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAuthorizerForResource ¶
func GetAuthorizerForResource(grantType OAuthGrantType, resource string) (autorest.Authorizer, error)
func GetKeyvaultAuthorizer ¶
func GetKeyvaultAuthorizer(clientID, clientSecret, tenantID string) (autorest.Authorizer, error)
GetKeyvaultAuthorizer gets an OAuthTokenAuthorizer for use with Key Vault keys and secrets. Note that Key Vault *Vaults* are managed by Azure Resource Manager.
func GetResourceManagementAuthorizer ¶
func GetResourceManagementAuthorizer() (autorest.Authorizer, error)
Types ¶
type OAuthGrantType ¶
type OAuthGrantType int
OAuthGrantType specifies which grant type to use.
const (
OAuthGrantTypeServicePrincipal OAuthGrantType = iota
)
Click to show internal directories.
Click to hide internal directories.