Unable to find a region via the region provider chain with spring-cloud-starter-aws-secrets-manager-config

Solution 1:

Secrets Manager and Parameter Store integrations do not use credentials and region configuration provided in cloud.aws properties as they are initialized in bootstrap phase before these credentials are loaded.

They both use default credentials chain - in your case you need to define [default] AWS profile in ~/.aws/credentials to get it working.

The ability to set static region for both Secrets Manager and Parameter Store has been already merged and was released in 2.2.3. The new property is aws.paramstore.region