Env
Interfaces
Interfaces
OnePasswordConfig
Configuration for the 1Password provider
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
serviceAccountToken | string | undefined | No | Service account token for authentication (required in CI/CD and production) |
vaultName | string | Yes | Vault name to use for secret resolution |
integration | { name: string; version: string; } | undefined | No | Integration metadata |
CacheConfig
Configuration for cache behavior
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
enabled | boolean | Yes | Enable/disable caching |
ttl | number | Yes | Time-to-live in seconds (default: 3600 = 1 hour) |
ProviderConfig
Provider-specific configuration
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
'1password' | OnePasswordConfig | undefined | No | |
env | Record<string, never> | undefined | No |
FlowstateEnvConfig
Main configuration for FlowstateEnv
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
provider | string | Yes | Provider name to use |
cache | Partial<CacheConfig> | undefined | No | Cache configuration |
CachedSecret
Cached secret entry
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
value | string | Yes | |
expiresAt | number | Yes |
SecretProvider
Base interface that all secret providers must implement
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Provider name |