Просмотр исходного кода

Add new alias in the kms package.

Mariano Cano 5 лет назад
Родитель
Сommit
08c9902f29
1 измененных файлов с 3 добавлено и 0 удалено
  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 {