Versions in this module Expand all Collapse all v0 v0.0.2 Feb 16, 2026 Changes in this version + type Secret struct + InstanceID id.ID + Key string + TenantID string + Type SecretType + Value []byte + Version int + type SecretType string + const SecretEnvVar + const SecretFile + const SecretRegistry + const SecretTLS + type Service interface + Delete func(ctx context.Context, instanceID id.ID, key string) error + Get func(ctx context.Context, instanceID id.ID, key string) (*Secret, error) + Inject func(ctx context.Context, instanceID id.ID) (map[string]string, error) + List func(ctx context.Context, instanceID id.ID) ([]Secret, error) + Set func(ctx context.Context, req SetRequest) (*Secret, error) + func NewService(store Store, vault Vault, auth auth.Provider) Service + type SetRequest struct + InstanceID id.ID + Key string + Type SecretType + Value string + type Store interface + CountSecretsByTenant func(ctx context.Context, tenantID string) (int, error) + DeleteSecret func(ctx context.Context, tenantID string, instanceID id.ID, key string) error + GetSecretByKey func(ctx context.Context, tenantID string, instanceID id.ID, key string) (*Secret, error) + InsertSecret func(ctx context.Context, secret *Secret) error + ListSecrets func(ctx context.Context, tenantID string, instanceID id.ID) ([]Secret, error) + UpdateSecret func(ctx context.Context, secret *Secret) error + type Vault interface + Delete func(ctx context.Context, key string) error + Retrieve func(ctx context.Context, key string) ([]byte, error) + Rotate func(ctx context.Context, key string) error + Store func(ctx context.Context, key string, value []byte) error v0.0.1 Feb 13, 2026