Versions in this module Expand all Collapse all v0 v0.0.1 Apr 16, 2023 Changes in this version + func LoadAADConfigFromBytes(b []byte, s *AADConfig) error + type AADConfig struct + AuthorityHost string + ClientCertificate string + ClientCertificatePassword string + ClientCertificateSendChain bool + ClientID string + ClientSecret string + TenantID string + func (s AADConfig) GetCloudConfig() cloud.Configuration + type AZConfig struct + AppID string + Password string + Tenant string + type MasterKey struct + CreationDate time.Time + EncryptedKey string + Name string + VaultURL string + Version string + func MasterKeyFromURL(url, name, version string) *MasterKey + func (key *MasterKey) Decrypt() ([]byte, error) + func (key *MasterKey) Encrypt(dataKey []byte) error + func (key *MasterKey) EncryptIfNeeded(dataKey []byte) error + func (key *MasterKey) EncryptedDataKey() []byte + func (key *MasterKey) NeedsRotation() bool + func (key *MasterKey) SetEncryptedDataKey(enc []byte) + func (key *MasterKey) ToString() string + func (key MasterKey) ToMap() map[string]interface{} + type Token struct + func NewToken(token azcore.TokenCredential) *Token + func TokenFromAADConfig(c AADConfig) (_ *Token, err error) + func (t Token) ApplyToMasterKey(key *MasterKey)