SettingsManager
Bases: SettingsBuilder, SettingsRoot
add_aws_secrets_manager
add_aws_secrets_manager(
secret_id: str,
region: str | None = None,
url: str | None = None,
) -> None
Add a settings provider that reads settings values from AWS Secrets Manager.
add_azure_key_vault
Add a settings provider that reads settings values from Azure Key Vault.
add_environment_variables
Add a settings provider that reads settings values from environment variables.
add_json_file
Add a settings provider that reads settings values from a JSON file.
get_model
Get a settings model of the specified type. The settings values will be mapped to the model fields by their names.
get_required_value
Get a setting value by its key or raise an error if the key is not found or the value is None. Optionally, validate the setting value against the specified type.