Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCredential ¶
func NewCredential(opt Option) (cred azcore.TokenCredential, err error)
Types ¶
type Credential ¶
type Credential struct {
// contains filtered or unexported fields
}
type Option ¶
type Option struct {
Logger *log.Logger
TenantId string
TenantIdFile string
ClientId string
ClientIdFile string
UseClientSecret bool
ClientSecret string
ClientSecretFile string
UseClientCert bool
ClientCertBase64 string
ClientCertPfxFile string
ClientCertPassword []byte
SendCertificateChain bool
UseOIDCToken bool
OIDCToken string
UseOIDCTokenFile bool
OIDCTokenFile string
UseOIDCTokenRequest bool
OIDCRequestToken string
OIDCRequestURL string
ADOServiceConnectionId string
UseMSI bool
UseAzureCLI bool
UseAzureDevCLI bool
// Common
azcore.ClientOptions
AdditionallyAllowedTenants []string
DisableInstanceDiscovery bool
Cache azidentity.Cache
}
Click to show internal directories.
Click to hide internal directories.