Config
Configuration settings for the application.
BaseConfig
¶
Bases: BaseModel
Application settings for Google Cloud KMS.
Source code in web3_google_hsm/config.py
from_env()
classmethod
¶
Create configuration from environment variables.
Returns:
Name | Type | Description |
---|---|---|
BaseConfig |
BaseConfig
|
Configuration instance with values from environment variables. |
Raises:
Type | Description |
---|---|
ValidationError
|
If any required fields are missing or invalid |
Source code in web3_google_hsm/config.py
validate_non_empty(v)
classmethod
¶
Validate that fields are not empty or whitespace.