AWS Access Keys
AWS Access Keys enable programmatic access to Amazon Web Services. Datablast uses these credentials to connect to AWS resources like S3, RDS, or Lambda. Follow the steps below to create secure IAM user credentials.
1. AWS Prerequisites
Section titled “1. AWS Prerequisites”AWS Account Setup
Section titled “AWS Account Setup”- Sign in to the AWS Management Console at console.aws.amazon.com
- Ensure you have IAM permissions to create users and manage access keys
- Identify which AWS services Datablast needs to access (e.g., S3, RDS, Lambda)
2. Create an IAM User
Section titled “2. Create an IAM User”Step-by-Step Process
Section titled “Step-by-Step Process”-
Navigate to IAM Service
• In the AWS Console search bar, type “IAM” and select the service
• Click Users in the left sidebar -
Add New User
• Click Add users button (top right)
• Enter a username (e.g.,datablast-integration)
• Under Select AWS access type, check Programmatic access -
Set Permissions
• Choose Attach policies directly
• Select appropriate policies based on your needs:- AmazonS3ReadOnlyAccess - for S3 bucket access
- AmazonRDSReadOnlyAccess - for database connections
- Custom policies - for specific resource access
-
Review and Create
• Click Next through the steps
• Review the configuration
• Click Create user
3. Generate Access Keys
Section titled “3. Generate Access Keys”Download Credentials
Section titled “Download Credentials”-
View Credentials Screen
After user creation, you’ll see the Access key ID and Secret access key -
Save Credentials Securely
• Important: The Secret access key is shown only once
• Click Download .csv to save both keys
• Or copy each key individually to a secure location
⚠️ Security Warning: Never share these credentials or store them in version control. The Secret access key cannot be recovered if lost.
4. Configure Datablast Connection
Section titled “4. Configure Datablast Connection”Connection Fields
Section titled “Connection Fields”| Field | Description |
|---|---|
| Connection Name | Friendly name for this AWS connection |
| Access Key ID | The AWS Access Key ID from step 3 |
| Secret Access Key | The AWS Secret Access Key from step 3 |
| Region (optional) | AWS region for resource access (e.g., us-east-1) |
| Description | Optional notes about this connection’s purpose |
Example Configuration
Section titled “Example Configuration”Connection Name: AWS ProductionAccess Key ID: AKIAIOSFODNN7EXAMPLESecret Access Key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEYRegion: us-east-1Description: Production AWS resources access5. Security Best Practices
Section titled “5. Security Best Practices”Key Management
Section titled “Key Management”- Principle of Least Privilege: Only grant necessary permissions
- Regular Rotation: Rotate access keys every 90 days
- Multiple Keys: Create separate keys for different applications
- Monitor Usage: Use AWS CloudTrail to track key usage
Never Do This
Section titled “Never Do This”- ❌ Use root account credentials
- ❌ Hard-code keys in applications
- ❌ Share keys via email or chat
- ❌ Store keys in public repositories
Do This Instead
Section titled “Do This Instead”- ✅ Create dedicated IAM users
- ✅ Use environment variables or secure vaults
- ✅ Implement key rotation policies
- ✅ Monitor access logs regularly
6. Troubleshooting
Section titled “6. Troubleshooting”Access Denied Errors
Section titled “Access Denied Errors”- Verify the IAM user has required permissions
- Check if the resource is in the correct AWS region
- Ensure the access key is active (not disabled)
Invalid Credentials
Section titled “Invalid Credentials”- Confirm the Access Key ID and Secret Access Key are correct
- Check if the keys have expired or been rotated
- Verify no extra spaces or characters in the credentials
Connection Timeouts
Section titled “Connection Timeouts”- Verify network connectivity to AWS
- Check if IP restrictions are configured in IAM
- Ensure the AWS service is available in your region
7. Key Rotation Process
Section titled “7. Key Rotation Process”When rotating keys:
- Create New Keys - Generate new access keys for the user
- Update Datablast - Replace old credentials with new ones
- Test Connection - Verify the new keys work correctly
- Delete Old Keys - Remove the previous access keys from AWS
Useful Links
Section titled “Useful Links”Remember to treat AWS access keys like passwords—keep them secure and rotate them regularly.