Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Data ¶
type Data struct { // SPIFFEID is the SPIFFE ID of the SVID SPIFFEID string `json:"spiffeID,omitempty"` // X509SVID is the PEM encoded certificate chain. MAY include intermediates, // the leaf certificate (or SVID itself) MUST come first X509SVID string `json:"x509SVID,omitempty"` // X509SVIDKey is the PEM encoded PKCS#8 private key. X509SVIDKey string `json:"x509SVIDKey,omitempty"` // Bundle is the PEM encoded X.509 bundle for the trust domain Bundle string `json:"bundle,omitempty"` // FederatedBundles is the CA certificate bundles belonging to foreign trust domains that the workload should trust, // keyed by trust domain. Bundles are in encoded in PEM format. FederatedBundles map[string]string `json:"federatedBundles,omitempty"` }
func SecretFromProto ¶
func SecretFromProto(req *svidstorev1.PutX509SVIDRequest) (*Data, error)
type Repository ¶
func (*Repository) Clear ¶
func (repo *Repository) Clear()
func (*Repository) GetSVIDStoreNamed ¶
func (repo *Repository) GetSVIDStoreNamed(name string) (SVIDStore, bool)
func (*Repository) SetSVIDStore ¶
func (repo *Repository) SetSVIDStore(svidStore SVIDStore)
type SVID ¶
type SVID struct { // SPIFFE ID of the SVID. SPIFFEID spiffeid.ID // Certificate and intermediates CertChain []*x509.Certificate // Private key PrivateKey crypto.PrivateKey // Bundle certificates Bundle []*x509.Certificate // Expiration timestamp ExpiresAt time.Time }
type V1 ¶
type V1 struct { plugin.Facade svidstorev1.SVIDStorePluginClient }
func (*V1) DeleteX509SVID ¶
Click to show internal directories.
Click to hide internal directories.