Documentation ¶
Index ¶
- Constants
- func NewCachingCertificateStorageService(store services.CertStorageService, entries int) services.CertStorageService
- func NewVaultCertificateStorageService(client *vault.KVv2, prefix string) services.CertStorageService
- func WrapTLSConfig(config *tls.Config, service services.CertStorageService) *tls.Config
- type StorageCertificate
Constants ¶
View Source
const HARD_LIMIT_EXPIRY_DATS = 1
View Source
const MAX_LRU_ENTRIES = 10
View Source
const SOFT_LIMIT_EXPIRY_DAYS = 7
Variables ¶
This section is empty.
Functions ¶
func NewCachingCertificateStorageService ¶
func NewCachingCertificateStorageService(store services.CertStorageService, entries int) services.CertStorageService
func NewVaultCertificateStorageService ¶
func NewVaultCertificateStorageService(client *vault.KVv2, prefix string) services.CertStorageService
func WrapTLSConfig ¶
Types ¶
type StorageCertificate ¶
type StorageCertificate struct { CAChain string `mapstructure:"ca_chain"` Key string `mapstructure:"key"` }
func (*StorageCertificate) CAChainBytes ¶
func (s *StorageCertificate) CAChainBytes() []byte
func (*StorageCertificate) KeyBytes ¶
func (s *StorageCertificate) KeyBytes() []byte
Click to show internal directories.
Click to hide internal directories.