Explorar el Código

Add new alias in the kms package.

Mariano Cano hace 5 años
padre
commit
08c9902f29
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      kms/kms.go

+ 3 - 0
kms/kms.go

@@ -18,6 +18,9 @@ type KeyManager = apiv1.KeyManager
 // store x509.Certificates.
 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.
 func New(ctx context.Context, opts apiv1.Options) (KeyManager, error) {
 	if err := opts.Validate(); err != nil {