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.
Click to show internal directories.
Click to hide internal directories.