Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TypeIssuingCA is a root certificate that can be used to issue sub-certificates TypeIssuingCA = "IssuingCA" // TypeIssuingSubCert is an issuing sub cert which is signed by issuing ca TypeIssuingSubCert = "IssuingSubCertificate" // Root cert ID RootCertId = "baetyl-cloud-system-cert-root" )
Variables ¶
Functions ¶
Types ¶
type CloudConfig ¶
type CloudConfig struct { PKI struct { RootCAFile string `yaml:"rootCAFile" json:"rootCAFile" validate:"nonzero"` RootCAKeyFile string `yaml:"rootCAKeyFile" json:"rootCAKeyFile" validate:"nonzero"` SubDuration time.Duration `yaml:"subDuration" json:"subDuration" default:"175200h"` // 20*365*24 RootDuration time.Duration `yaml:"rootDuration" json:"rootDuration" default:"438000h"` // 50*365*24 Persistent string `yaml:"persistent" json:"persistent" default:"database"` } `yaml:"defaultpki" json:"defaultpki"` }
CloudConfig baetyl-cloud config
Click to show internal directories.
Click to hide internal directories.