|
|
|
@ -24,9 +24,9 @@ import (
|
|
|
|
|
"github.com/smallstep/certificates/api"
|
|
|
|
|
"github.com/smallstep/certificates/authority"
|
|
|
|
|
"github.com/smallstep/certificates/authority/admin"
|
|
|
|
|
"github.com/smallstep/certificates/cas/apiv1"
|
|
|
|
|
adminAPI "github.com/smallstep/certificates/authority/admin/api"
|
|
|
|
|
"github.com/smallstep/certificates/authority/config"
|
|
|
|
|
"github.com/smallstep/certificates/cas/apiv1"
|
|
|
|
|
"github.com/smallstep/certificates/db"
|
|
|
|
|
"github.com/smallstep/certificates/logging"
|
|
|
|
|
"github.com/smallstep/certificates/monitoring"
|
|
|
|
@ -47,7 +47,7 @@ type options struct {
|
|
|
|
|
sshHostPassword []byte
|
|
|
|
|
sshUserPassword []byte
|
|
|
|
|
database db.AuthDB
|
|
|
|
|
x509CAService apiv1.CertificateAuthorityService
|
|
|
|
|
x509CAService apiv1.CertificateAuthorityService
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (o *options) apply(opts []Option) {
|
|
|
|
|