I have a service user for boto3 to make calls to sts. If I want to make temporary credentials for access to a bucket on s3, does the user that makes the call to sts need access to that s3 bucket or is the inline policy below enough? NOTE: This is NOT the policy I pass to assume_role, this is the inline policy that the service user has attached.
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"sts:AssumeRole"
],
"Effect": "Allow"
}
]
}
Basically, do I need to include "s3: *" in another statement?