Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
awscli / awscli / examples / sts / get-caller-identity.rst
Size: Mime:
**To get details about the current IAM identity**

The following ``get-caller-identity`` example displays information about the IAM identity used to authenticate the request. The caller is an IAM user. ::

    aws sts get-caller-identity

Output::

    {
        "UserId": "AIDASAMPLEUSERID",
        "Account": "123456789012",
        "Arn": "arn:aws:iam::123456789012:user/DevAdmin"
    }