I've created a "Programmatic access" user with full read and list permissions on Elastic Beanstalk, provided by a Policy I've created specifically. This means that when I go to the Policy Summary page I see: - Service: Elastic Beanstalk - Access level: Full: List, Read - Resource: All resources - Request condition: None
The describe-environments
command works fine: aws elasticbeanstalk describe-environments
.
However, the describe-configuration-settings
fails. Here's how I'm running it: aws elasticbeanstalk describe-configuration-settings --application-name my-app-name --environment-name my-app-name-uat
.
The same error happened when using the Java SDK, but the commands above, as expected, have a similar behaviour.
Just as an additional note, the command aws sts get-caller-identity
returns the correct user, so I'm positive I'm using the credentials I expect.
Does anyone know if I'm missing any other permission or is are ther any tips on how to proceed with my investigation? I wanted to restrict the permissions for that user as much as possible.
Thanks in advance.