An open API service indexing awesome lists of open source software.

https://github.com/gmariano/SetAwsCredentials

Script to quickly set your AWS credentials
https://github.com/gmariano/SetAwsCredentials

Last synced: 4 months ago
JSON representation

Script to quickly set your AWS credentials

Awesome Lists containing this project

README

        

# SetAwsCredentials
Script to quickly set your AWS credentials

## Requirements:
* Windows
* Powershell
* AWS CLI

## Settings:
* Add your profiiles to *C:\Users\\[YourUserName]\\.aws\config* in the following format:
```
[profile profile1]
sso_start_url = https://........./start#/
sso_region = login region (e.g. us-east-1)
sso_account_id = xxxxxxxxx
sso_role_name = xxxxxxxxx
region = region (e.g. eu-west-1)
output = json

[profile profile2]
sso_start_url = https://........./start#/
sso_region = login region (e.g. us-east-1)
sso_account_id = xxxxxxxxx
sso_role_name = xxxxxxxxx
region = region (e.g. eu-west-1)
output = json
```

## Usage:
run ```.\SetAwsCredentials.ps1``` and select the profile from the menu.
The script will save your credentials in *C:\Users\\[YourUserName]\\.aws\credentials*