Documentation ¶
Index ¶
Constants ¶
View Source
const (
HeaderAuthorizationAuxiliary = "x-ms-authorization-auxiliary"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuxiliaryAuthPolicy ¶
type AuxiliaryAuthPolicy struct {
// contains filtered or unexported fields
}
func NewAuxiliaryAuthPolicy ¶
func NewAuxiliaryAuthPolicy(credentials []azcore.TokenCredential, scope string) *AuxiliaryAuthPolicy
type KeyVaultCredential ¶
type KeyVaultCredential struct {
// contains filtered or unexported fields
}
func NewKeyVaultCredential ¶
func NewKeyVaultCredential( msiCredential azcore.TokenCredential, secretResourceID SecretResourceID, ) (*KeyVaultCredential, error)
func (*KeyVaultCredential) GetToken ¶
func (c *KeyVaultCredential) GetToken(ctx context.Context, _ policy.TokenRequestOptions) (azcore.AccessToken, error)
type SecretResourceID ¶ added in v0.0.20
type SecretResourceID struct { SubscriptionID string ResourceGroup string VaultName string SecretName string }
func (SecretResourceID) String ¶ added in v0.0.20
func (s SecretResourceID) String() string
Click to show internal directories.
Click to hide internal directories.