Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobClient ¶
type BlobClient interface { Upload(ctx context.Context, buffer []byte) error Download(ctx context.Context) ([]byte, error) Exists(ctx context.Context) (bool, error) }
func NewBlobClient ¶
func NewBlobClient(containerUrl *url.URL, blobName string) (BlobClient, error)
type KeyVaultClient ¶
type KeyVaultClient interface { GetKey( ctx context.Context, keyName string, version string, ) (jwk.Key, error) ImportKey(ctx context.Context, keyName string, key jwk.Key) error GetSecret( ctx context.Context, secretName string, version string, ) (*string, error) SetSecret(ctx context.Context, secretName string, value string) error GetCertificate( ctx context.Context, certificateName string, version string, ) (*x509.Certificate, error) ImportCertificate( ctx context.Context, certificateName string, certificate *x509.Certificate, key *rsa.PrivateKey, ) error }
func NewKeyVaultClient ¶
func NewKeyVaultClient(vaultUrl *url.URL) (KeyVaultClient, error)
Click to show internal directories.
Click to hide internal directories.