Documentation ¶
Index ¶
- func GetServicePrincipalToken(tenantID, clientID, secret, resource string) (*adal.Token, error)
- func GetServicePrincipalTokenFromMSI(resource string) (*adal.Token, error)
- func GetServicePrincipalTokenFromMSIWithUserAssignedID(clientID, resource string) (*adal.Token, error)
- func InitReporter(reporterInstance *metrics.Reporter)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServicePrincipalToken ¶
GetServicePrincipalToken return the token for the assigned user
func GetServicePrincipalTokenFromMSI ¶
GetServicePrincipalTokenFromMSI return the token for the assigned user
func GetServicePrincipalTokenFromMSIWithUserAssignedID ¶
func GetServicePrincipalTokenFromMSIWithUserAssignedID(clientID, resource string) (*adal.Token, error)
GetServicePrincipalTokenFromMSIWithUserAssignedID return the token for the assigned user
func InitReporter ¶ added in v1.5.4
InitReporter initialize the reporter with given reporter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.