Permission inheritance of sts.getFederation token
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
I will keep this open to track the issue and close when we've pulled in the new docs. Thanks for the heads up!
Thanks, I can create a PR if it helps? Is it this file, or is that auto generated from elsewhere?
It is auto-generated, so a PR won't help in this case, but thanks for digging in!
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!
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.