ump_sdk.settings
module ump-sdk
Shared settings (pydantic-settings). Env prefix UMP_.
Classes
Section titled “Classes”UmpSettings
Section titled “UmpSettings”class
class UmpSettings(BaseSettings)Fields
| Name | Type | Default | Description |
|---|---|---|---|
var_dir | Path | _repo_root() / 'var' | Runtime state (git-ignored): ump.db, blobs/, log/, keys/, anchors/. |
default_principal | str | 'user:demo' | |
on_gate_fail | str | 'fallback' | |
log_level | str | 'info' | |
client_ref_salt | str | 'poc-salt-not-secret' | Salt for salted_client_ref. POC only; production keeps it in KMS and deletes it on erasure. |
Methods and properties (1)
path method
def path(self, *parts: str) -> PathSource: packages/ump-sdk/src/ump_sdk/settings.py, line 16
Functions
Section titled “Functions”get_settings
Section titled “get_settings”function
def get_settings() -> UmpSettingsSource: packages/ump-sdk/src/ump_sdk/settings.py, line 33