REST API To Flatten JSON
Flatten JSON is an simple REST API which takes a JSON object as input and parses into a key/value string. Here the key …
This article explains the steps required to make AWS CLI call from local machine using federated login. Steps described below are specific to windows operating system.
Follow the below steps to install all required software. These steps have to be done only once on a given machine.
npm --version
npm install -g aws-azure-login
This NPM module updates frequently. You should run npm update -g aws-azure-login
from time to time to make sure you have the latest version.
Follow the below steps to configure aws-azure-login, please note this configuration is done at account level. You repeat the steps if you have multiple AWS accounts. You will need IAM Role ARN, Azure Tenant ID, Azure App ID URI and this can be obtained from your AWS admin.
aws-azure-login --configure --profile profileName
C:\Users\{USERID}\.aws
, You can also navigate from %SystemDrive%\Users\
This step should be done every day since access tokens are valid only for 8 hours by default and maximum for 12 hours.
aws-azure-login --mode gui --profile profileName
C:\Users\{USERID}\.aws
, You can also navigate from %SystemDrive%\Users\
aws configure
and use the content from credentials file.setx AWS_SHARED_CREDENTIALS_FILE C:\Users\{USERID}\.aws\credentials
Alternatively, this variable can be set from the Environment Variables GUI also.
At this point we are ready to use AWS CLI, go ahead and issue your favorite AWS CLI commands and the syntax would be like aws s3 ls --profile profileName
Please see some of the key references listed below. All credits to the creators of aws-azure-login
Flatten JSON is an simple REST API which takes a JSON object as input and parses into a key/value string. Here the key …
Overview There are multiple ways to replicate data from an Amazon RDS instance to your preferred analytics platform. An …