Documentation ¶
Index ¶
- Constants
- type ApproleAuth
- type Auth
- type AutoRenew
- type AwsDynamicCredentials
- type ImplicitAuth
- type KubernetesAuth
- type TokenAuth
- type VaultBackend
- func (vault *VaultBackend) Authenticate() error
- func (vault *VaultBackend) Logout() error
- func (vault *VaultBackend) ReadAccount(hash string) (*certstorage.AcmeAccount, error)
- func (vault *VaultBackend) ReadAwsCredentials() (aws.Credentials, error)
- func (vault *VaultBackend) ReadFullCertificateData(domain string) (*certstorage.AcmeCertificate, error)
- func (vault *VaultBackend) ReadPublicCertificateData(domain string) (*certstorage.AcmeCertificate, error)
- func (vault *VaultBackend) WriteAccount(acmeRegistration certstorage.AcmeAccount) error
- func (vault *VaultBackend) WriteCertificate(resource *certstorage.AcmeCertificate) error
Constants ¶
View Source
const ApproleAuthName = "approle"
View Source
const (
ImplicitAuthName = "implicit"
)
View Source
const (
KubernetesAuthName = "kubernetes"
)
View Source
const TokenAuthName = "token"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApproleAuth ¶ added in v1.10.0
type ApproleAuth struct {
// contains filtered or unexported fields
}
func NewApproleAuth ¶ added in v1.10.0
func NewApproleAuth(roleId string, secretId *approle.SecretID) (*ApproleAuth, error)
type AutoRenew ¶ added in v1.12.0
type AutoRenew struct {
// contains filtered or unexported fields
}
func NewAutoRenew ¶ added in v1.12.0
type AwsDynamicCredentials ¶
type ImplicitAuth ¶ added in v1.10.0
type ImplicitAuth struct {
// contains filtered or unexported fields
}
func NewImplicitAuth ¶ added in v1.10.0
func NewImplicitAuth(tokenLocations ...string) (*ImplicitAuth, error)
type KubernetesAuth ¶ added in v1.11.0
type KubernetesAuth struct {
// contains filtered or unexported fields
}
func NewVaultKubernetesAuth ¶ added in v1.11.0
func NewVaultKubernetesAuth(role string, mountPath string) (*KubernetesAuth, error)
type TokenAuth ¶ added in v1.10.0
type TokenAuth struct {
// contains filtered or unexported fields
}
func NewTokenAuth ¶ added in v1.10.0
type VaultBackend ¶
type VaultBackend struct {
// contains filtered or unexported fields
}
func NewVaultBackend ¶
func NewVaultBackend(vaultConfig config.VaultConfig, auth Auth) (*VaultBackend, error)
func (*VaultBackend) Authenticate ¶ added in v1.6.1
func (vault *VaultBackend) Authenticate() error
func (*VaultBackend) Logout ¶ added in v1.6.1
func (vault *VaultBackend) Logout() error
func (*VaultBackend) ReadAccount ¶
func (vault *VaultBackend) ReadAccount(hash string) (*certstorage.AcmeAccount, error)
func (*VaultBackend) ReadAwsCredentials ¶
func (vault *VaultBackend) ReadAwsCredentials() (aws.Credentials, error)
func (*VaultBackend) ReadFullCertificateData ¶ added in v1.3.0
func (vault *VaultBackend) ReadFullCertificateData(domain string) (*certstorage.AcmeCertificate, error)
func (*VaultBackend) ReadPublicCertificateData ¶ added in v1.3.0
func (vault *VaultBackend) ReadPublicCertificateData(domain string) (*certstorage.AcmeCertificate, error)
func (*VaultBackend) WriteAccount ¶
func (vault *VaultBackend) WriteAccount(acmeRegistration certstorage.AcmeAccount) error
func (*VaultBackend) WriteCertificate ¶
func (vault *VaultBackend) WriteCertificate(resource *certstorage.AcmeCertificate) error
Click to show internal directories.
Click to hide internal directories.