vault

package
v10.1.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSecret

func GetSecret(ctx context.Context, kvc keyvault.KeyVaultClient, secretURL string) (*api.CertKeyPairChain, error)

func ImportCertificate

func ImportCertificate(ctx context.Context, kvc keyvault.KeyVaultClient, vaultURL, name string, chain api.CertKeyPairChain) error

func SplitSecretURL

func SplitSecretURL(kvURL string) (string, string, error)

SplitSecretURL parses a key vault secret URL, e.g. https://myvault.vault.azure.net/secrets/mysecret, and returns the root vault URL and secret name, e.g. https://myvault.vault.azure.net/ and mysecret.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL