Parameter Store
When working with AWSBaseSettings
, you can work with multiple parameters living in the same account and region, or with multiple accounts / regions.
The only restriction if for Secrets Manager. You can only use one secret / client / account / region at a time.
Simplest way
The only required setting is your secret's name. All other configurations you can leave to boto3 to deal.
In this case, pydantic-settings-aws
will leave to boto3 to try to identify how he can connect to AWS.
We don't shadow pydantic and boto3 errors
In the above case, if for some reason any field is None
, it will raise a pydantic's ValidationError
.