-
Notifications
You must be signed in to change notification settings - Fork 1
Getting AWS Credentials
Getting AWS credentials requires you to either have configured your personal AWS account in settings or to have setup some Speedrun Configuration for the page and to have created the necessary Speedrun roles.
Note
Getting CLI credentials requires that you have a working version of perl
installed on your computer and a bash
or zsh
like shell. If you don't have this setup, you can use AWS CloudShell. On Windows, you need something akin to WSL installed.
- First install srinit
- Each day run
srinit
once to authenticate your account.
To federate into the AWS console, use the #federate
or #federateService
template. To use federate, you must set the value of path
or the wiki content to the path in the AWS console. For example to federate into S3, you could either do this:
#federate {"path":"s3"}
Or this:
#federate
/s3/home?region=${region}
To wrap a command with credentials, either set "credentials": true
(in your template or config) or add the .withCreds
extension when you use the template i.e. use #copy.withCreds
#copy.withCreds
aws sts get-caller-identity
If you have configured your personal AWS account role in settings to have at least these permissions launch it using the button below.
Caution
It is important to use a non-shared account to access cloudshell, i.e. a personal account, otherwise your instance of srinit
may be authenticated as the last person who used it.
#federate {"path":"cloudshell"}