Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func URI ¶
func URI(instancemetadata instancemetadata.InstanceMetadata, suffix string) (string, error)
Types ¶
type Manager ¶
type Manager interface { CreateSignedCertificate(context.Context, string, string, string, Eku) error EnsureCertificateDeleted(context.Context, string) error GetBase64Secret(context.Context, string) ([]byte, 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 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.