Get current AWS IAM User ARN using Boto3
import boto3
boto3.client('sts').get_caller_identity().get('Arn')
3 lines of code, 66 characters
Similar AWS code snippets using python
import boto3
boto3.client('sts').get_caller_identity().get('Arn')
Similar AWS code snippets using python