ComStock
ComStock copied to clipboard
Update READMEs for S3 access to use SSO tool
- Make an
.awsdirectory in your home directory- Windows:
C:\Users\myname\.aws - Mac:
~/.aws
- Windows:
- Download the ZIP file for NREL's aws-sso-tool into your
.awsdirectory - Activate a Conda environment that has
boto3installed in it for example, thecomstockpostprocenvironment - Connect to the NREL VPN
- Setup the AWS-SSO-tool following the directions in the README
- Select the
nrel-aws-resbldg-developersrole
- Select the
$ python aws-sso-tool config
- Get credentials which expire every 8 hrs, so you must connect to the NREL VPN and
get-credentialsevery 8 hrs
$ python aws-sso-tool get-credentials
@mpraprost can you test this method for AWS access out and update the READMEs if it works for you? (I've been using it for a while, just don't know if I forgot any steps).
working link: aws-sso-tool