Add new alias in the kms package.
This commit is contained in:
parent
505b1f3678
commit
08c9902f29
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ type KeyManager = apiv1.KeyManager
|
||||||
// store x509.Certificates.
|
// store x509.Certificates.
|
||||||
type CertificateManager = apiv1.CertificateManager
|
type CertificateManager = apiv1.CertificateManager
|
||||||
|
|
||||||
|
// Options are the KMS options. They represent the kms object in the ca.json.
|
||||||
|
type Options = apiv1.Options
|
||||||
|
|
||||||
// New initializes a new KMS from the given type.
|
// New initializes a new KMS from the given type.
|
||||||
func New(ctx context.Context, opts apiv1.Options) (KeyManager, error) {
|
func New(ctx context.Context, opts apiv1.Options) (KeyManager, error) {
|
||||||
if err := opts.Validate(); err != nil {
|
if err := opts.Validate(); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue