AWS Console Access
1. Navigate to the Dartmouth AWS login page: AWS Console.
2. Enter your Dartmouth NetID credentials when prompted.
3. You will be directed to the AWS Management Console, where you can access your AWS resources.
Using AWS CLI
1. Go to the AWS Console and log in using your Dartmouth NetID.
2. Select Access Keys from the dashboard to generate the credentials needed for AWS CLI access.
3. Follow one of the methods below to set up AWS CLI access:
Option 1: Set AWS Environment Variables (Recommended)
Simply paste the export lines provided into your terminal to set the environment variables. This method avoids the need to run aws configure
.
export AWS_ACCESS_KEY_ID=XXX
export AWS_SECRET_ACCESS_KEY=XXX
export AWS_SESSION_TOKEN=XXX
Option 2: Add a Profile to Your AWS Credentials File
Copy the provided credentials into your ~/.aws/credentials
file.
[482647302978_AdministratorAccess]
aws_access_key_id=XXX
aws_secret_access_key=XXX
aws_session_token=XXX
Option 3: Use Individual Values in Your Code
Use the provided access key ID, secret access key, and session token directly in your AWS service client or code.
To extend the duration of your credentials, consider using the aws configure sso
command to set up automatic credential retrieval. For more details, visit the AWS CLI Documentation.