Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func URI ¶
func URI(instancemetadata instancemetadata.InstanceMetadata, suffix, keyVaultPrefix string) string
Types ¶
type Error ¶
type Error struct {
AzErr *azkeyvault.Error
}
type Manager ¶
type Manager interface { CreateSignedCertificate(context.Context, string, string, string, Eku) error EnsureCertificateDeleted(context.Context, string) error GetBase64Secret(context.Context, string, string) ([]byte, error) GetBase64Secrets(context.Context, string) ([][]byte, error) GetCertificate(context.Context, string) (azkeyvault.CertificateBundle, error) GetCertificatePolicy(ctx context.Context, certificateName string) (azkeyvault.CertificatePolicy, error) GetCertificateSecret(context.Context, string) (*rsa.PrivateKey, []*x509.Certificate, error) GetSecret(context.Context, string) (azkeyvault.SecretBundle, error) GetSecrets(context.Context) ([]azkeyvault.SecretItem, error) SetCertificateIssuer(ctx context.Context, issuerName string, parameter azkeyvault.CertificateIssuerSetParameters) (result azkeyvault.IssuerBundle, err error) SetSecret(context.Context, string, azkeyvault.SecretSetParameters) error UpdateCertificatePolicy(context.Context, string, azkeyvault.CertificatePolicy) error WaitForCertificateOperation(context.Context, string) error }
func NewManager ¶
func NewManager(kvAuthorizer autorest.Authorizer, keyvaultURI string) Manager
NewManager returns a pointer to a manager containing a BaseClient. The BaseClient is created with kvAuthorizer, which is an authorizer which can access a key vault.
Click to show internal directories.
Click to hide internal directories.