[RequestedSecret [path='kv/dev/config', mode=ROTATE]] Lease [leaseId='null', leaseDuration=PT0S, renewable=false] Cannot login using AWS-IAM: entry for role myrole not found; nested exception is org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request: "{"errors":["entry for role myrole not found"]}<EOL>"
I already have a role on aws with this name myrole
What am I missing? should I config the aws role in a specific way?!
Describe the bug I'm trying to authenticate vault with AWS-IAM as per this docs https://cloud.spring.io/spring-cloud-vault/reference/html/#vault.config.authentication.awsiam
with the following configurations.
Sample application.yaml:
pom.xml:
I usually got this error
[RequestedSecret [path='kv/dev/config', mode=ROTATE]] Lease [leaseId='null', leaseDuration=PT0S, renewable=false] Cannot login using AWS-IAM: entry for role myrole not found; nested exception is org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request: "{"errors":["entry for role myrole not found"]}<EOL>"
I already have a role on aws with this name
myrole
What am I missing? should I config the aws role in a specific way?!