sts

Example usage

@mock_sts
def test_sts_behaviour:
    boto3.client("sts")
    ...

Implemented features for this service

  • [X] assume_role

    Assume an IAM Role. Note that the role does not need to exist. The ARN can point to another account, providing an opportunity to switch accounts.

  • [X] assume_role_with_saml

  • [X] assume_role_with_web_identity

  • [ ] decode_authorization_message

  • [ ] get_access_key_info

  • [X] get_caller_identity

  • [X] get_federation_token

  • [X] get_session_token