Help us shape the future of Go! Take the 2026 Go Developer Survey

keyvault

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 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 Certificate

type Certificate interface {
	Sign(ctx context.Context, algorithm azkeys.JSONWebKeySignatureAlgorithm, digest []byte) ([]byte, error)
	CertificateChain(ctx context.Context) ([]*x509.Certificate, error)
	Certificate(ctx context.Context) (*x509.Certificate, error)
}

Certificate includes Sign, CertificateChain, Certificate methods.

func NewCertificate

func NewCertificate(vaultHost, keyName, version string) (Certificate, error)

NewCertificate function creates a new instance of KeyVault struct

func NewCertificateFromID

func NewCertificateFromID(id string) (Certificate, error)

NewCertificateFromID creates a Certificate with given key identifier or certificate identifier.

Jump to

Keyboard shortcuts

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