by XDK
18. September 2019 21:33
Explanation:
AWS CLI command to create custom AWS profile
aws configure --profile <profile name>
Verification command
aws sts get-caller-identity --profile <demo>
Output:
{
"UserId": "AIDAYHQTXQ2MWUGOD24RV",
"Account": "565903328921",
"Arn": "arn:aws:iam::565903328921:user/<APIUser>"
}
d29ed651-c491-49af-a8bc-d0ef3d54a2cb|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags: CLI
Amazon Web Service