1 Answer
- Newest
- Most votes
- Most comments
0
With the information provided the easiest way I would find to do this is to first create a role with a policy that allows access to the bucket, then assign the role through the sts:AssumeRole action on the instance profile.
This should allow the instance to assume the role and have access to the bucket both manually and/or automating through SSM.
answered 4 years ago
Relevant content
asked 7 years ago
asked 3 months ago
asked 3 years ago
- AWS OFFICIALUpdated 5 months ago

Ya, trying to do this without putting permissions on an instance I don't want them to normally have. Really prefer to do this just through SSM's assume role.