Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + func ParseMetadata(metaData []string) (map[string]string, error) + type Data struct + Bundle string + FederatedBundles map[string]string + SPIFFEID string + X509SVID string + X509SVIDKey string + func SecretFromProto(req *svidstorev1.PutX509SVIDRequest) (*Data, error) + type Repository struct + SVIDStores map[string]SVIDStore + func (repo *Repository) Clear() + func (repo *Repository) GetSVIDStoreNamed(name string) (SVIDStore, bool) + func (repo *Repository) SetSVIDStore(svidStore SVIDStore) + type SVID struct + Bundle []*x509.Certificate + CertChain []*x509.Certificate + ExpiresAt time.Time + PrivateKey crypto.PrivateKey + SPIFFEID spiffeid.ID + type SVIDStore interface + DeleteX509SVID func(ctx context.Context, metadata []string) error + PutX509SVID func(context.Context, *X509SVID) error + type V1 struct + func (v1 *V1) DeleteX509SVID(ctx context.Context, metadata []string) error + func (v1 *V1) PutX509SVID(ctx context.Context, x509SVID *X509SVID) error + type X509SVID struct + FederatedBundles map[string][]*x509.Certificate + Metadata []string + SVID *SVID