Versions in this module Expand all Collapse all v0 v0.23.0 Nov 10, 2023 Changes in this version + type APIConfig struct + Paths map[string]APIPathConfig + type APIPathConfig struct + InsecureSkipAuth bool + Timeout time.Duration + type AWSSecretsManagerKeyStore struct + AccessKey string + Endpoint string + KMSKey string + Region string + SecretKey string + SessionToken string + func (s *AWSSecretsManagerKeyStore) Connect(ctx context.Context) (kes.KeyStore, error) + type AzureKeyVaultKeyStore struct + ClientID string + ClientSecret string + Endpoint string + ManagedIdentityClientID string + TenantID string + func (s *AzureKeyVaultKeyStore) Connect(ctx context.Context) (kes.KeyStore, error) + type CacheConfig struct + Expiry time.Duration + ExpiryOffline time.Duration + ExpiryUnused time.Duration + type EntrustKeyControlKeyStore struct + BoxID string + CAPath string + Endpoint string + Password string + Username string + VaultID string + func (s *EntrustKeyControlKeyStore) Connect(ctx context.Context) (kes.KeyStore, error) + type FSKeyStore struct + Path string + func (s *FSKeyStore) Connect(context.Context) (kes.KeyStore, error) + type File struct + API *APIConfig + Addr string + Admin kes.Identity + Cache *CacheConfig + KeyStore KeyStore + Keys []Key + Log *LogConfig + Policies map[string]Policy + TLS *TLSConfig + func ReadFile(filename string) (*File, error) + func ReadFrom(r io.Reader) (*File, error) + func (f *File) Config(ctx context.Context) (*kes.Config, error) + func (f *File) TLSConfig() (*tls.Config, error) + type FortanixKeyStore struct + APIKey string + CAPath string + Endpoint string + GroupID string + func (s *FortanixKeyStore) Connect(ctx context.Context) (kes.KeyStore, error) + type GCPSecretManagerKeyStore struct + ClientEmail string + ClientID string + Endpoint string + Key string + KeyID string + ProjectID string + Scopes []string + func (s *GCPSecretManagerKeyStore) Connect(ctx context.Context) (kes.KeyStore, error) + type Key struct + Name string + type KeySecureKeyStore struct + CAPath string + Domain string + Endpoint string + Token string + func (s *KeySecureKeyStore) Connect(ctx context.Context) (kes.KeyStore, error) + type KeyStore interface + Connect func(ctx context.Context) (kes.KeyStore, error) + type LogConfig struct + AuditLevel slog.Level + ErrLevel slog.Level + type Policy struct + Allow []string + Deny []string + Identities []kes.Identity + type TLSConfig struct + CAPath string + Certificate string + ClientAuth tls.ClientAuthType + ForwardCertHeader string + Password string + PrivateKey string + Proxies []kes.Identity + type VaultAppRoleAuth struct + Engine string + ID string + Secret string + type VaultKeyStore struct + APIVersion string + AppRole *VaultAppRoleAuth + CAPath string + Certificate string + Endpoint string + Engine string + Kubernetes *VaultKubernetesAuth + Namespace string + Prefix string + PrivateKey string + StatusPing time.Duration + Transit *VaultTransit + func (s *VaultKeyStore) Connect(ctx context.Context) (kes.KeyStore, error) + type VaultKubernetesAuth struct + Engine string + JWT string + Role string + type VaultTransit struct + Engine string + KeyName string