FredHutch/get_credentials

Name: get_credentials

Owner: Fred Hutchinson Cancer Research Center

Description: null

Created: 2017-01-24 17:32:20.0

Updated: 2017-08-15 16:13:00.0

Pushed: 2017-08-14 21:18:48.0

Homepage: null

Size: 4

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Usage:

tes:
ou must have the aws cli installed and configured with at least one profile with STS access to the AWS account you are connecting to.
- Documentation on how to do that is [here](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-multiple-profiles)
```
$ aws configure --profile user2
AWS Access Key ID [None]: AKIAI44QH8DHBEXAMPLE
AWS Secret Access Key [None]: je7MtGbClwBF/2Zp9Utk/h3yCo8nvbEXAMPLEKEY
Default region name [None]: us-west-2
Default output format [None]: text
```

ariables.conf must contain sections that match the names of profiles in your ~/.aws/credentials file
nce this script has been run, open up a command prompt and run ```. ~/.awsbash ``` 
 you will then be able to use the aws cli with the default credentials, not a profile.

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.