Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcmeVault ¶ added in v1.12.0
type AcmeVault struct {
// contains filtered or unexported fields
}
func New ¶ added in v1.12.0
func New(domains []config.DomainsConfig, acmeClient acme.AcmeDealer, storage CertStorage) (*AcmeVault, error)
type CertStorage ¶ added in v1.12.0
type CertStorage interface { // Authenticate authenticates against the storage subsystem and returns an error about the success of the operation. Authenticate() error // WriteCertificate writes the full certificate to the underlying storage. WriteCertificate(resource *certstorage.AcmeCertificate) error // ReadPublicCertificateData reads the public portion of the certificate data (without the private key) from the // storage subsystem. This is intended to be used by the server component that does not need to have permission // to read the full certificate data. ReadPublicCertificateData(domain string) (*certstorage.AcmeCertificate, error) // ReadFullCertificateData reads all data for a given certificate and is intended to be used by the client component. ReadFullCertificateData(domain string) (*certstorage.AcmeCertificate, error) // Logout cleans up and logs out of the storage subsystem. Logout() error }
Click to show internal directories.
Click to hide internal directories.