aws-sdk-js icon indicating copy to clipboard operation
aws-sdk-js copied to clipboard

Permission inheritance of sts.getFederation token

Open Bochenski opened this issue 12 years ago • 5 comments

In the STS master docs it states:

"the effective permissions for the federated user consist of only those permissions that are granted in the IAM user policy and the passed policy."

But in the javascript api docs it says:

Optionally, you can pass an AWS IAM access policy to this operation. The temporary security credentials that are returned by the operation have the permissions that are associated with the entity that is making the GetFederationToken call, except for any permissions explicitly denied by the policy you pass.

Having tested, the master docs are correct, so I think the API docs may need amending

Bochenski avatar May 21 '14 11:05 Bochenski

I will keep this open to track the issue and close when we've pulled in the new docs. Thanks for the heads up!

lsegal avatar May 21 '14 18:05 lsegal

Thanks, I can create a PR if it helps? Is it this file, or is that auto generated from elsewhere?

Bochenski avatar May 22 '14 08:05 Bochenski

It is auto-generated, so a PR won't help in this case, but thanks for digging in!

lsegal avatar May 22 '14 08:05 lsegal

We released a new version of the SDK and updated documentation for STS: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/STS.html#getFederationToken-property

I think this should be in sync with the public documentation. Feel free to re-open if you are still finding inconsistencies. Thanks for reporting!

lsegal avatar May 29 '14 21:05 lsegal

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

lock[bot] avatar Sep 30 '19 03:09 lock[bot]