keyvault

package
v1.4.27 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shim

type Shim struct {
	// contains filtered or unexported fields
}

Shim provides convenience methods for working with KeyVault.

func NewShim

func NewShim(vaultURL string, cred azcore.TokenCredential) (*Shim, error)

NewShim constructs a Shim for a KeyVault instance located at the provided url. The azcore.TokenCredential will only be used during method calls, it is not verified at initialization.

func (*Shim) GetLatestTLSCertificate

func (s *Shim) GetLatestTLSCertificate(ctx context.Context, certName string) (tls.Certificate, error)

GetLatestTLSCertificate fetches the latest version of a keyvault certificate and transforms it into a usable tls.Certificate.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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