Describe the bug
So I'm making use of the spring-cloud-starter-aws-secrets-manager-config version 2.3.2, along with Spring Boot version 2.5.5, and I noticed that it allows importing individual secrets like:
For the profile ones it goes for N number of active profiles. Is there really no way to stop looking up these defaults? Like I have specified the secrets it should fetch using spring.config.import: aws-secretsmanager:my-secret and because of this random fetching and subsequently failing I have to set fail-fast to false which defeats the purpose of it
Type: Bug
Component: Secrets Manager
Describe the bug So I'm making use of the
spring-cloud-starter-aws-secrets-manager-config
version2.3.2
, along with Spring Boot version2.5.5
, and I noticed that it allows importing individual secrets like:However, I also notice that the
fail-fast
has to be set tofalse
for it to work because it always tries to fetch:{defaultPrefix}/{defaultContext}
{defaultPrefix}/{defaultContext}{profile-separator}{profile}
{defaultPrefix}/{appName}
{defaultPrefix}/{appName}{profile-separator}{profile}
For the profile ones it goes for N number of active profiles. Is there really no way to stop looking up these defaults? Like I have specified the secrets it should fetch using
spring.config.import: aws-secretsmanager:my-secret
and because of this random fetching and subsequently failing I have to setfail-fast
tofalse
which defeats the purpose of it