AWS
AWS S3 Connector
Overview
The AWS S3 Connector enables seamless integration with Amazon S3 services, allowing you to manage S3 bucket operations and generate secure URLs for object access. This connector provides functionality to create both public and pre-signed URLs for temporary, secure access to S3 objects.
Key Features
- Generate public S3 URLs for objects
- Create pre-signed URLs for temporary access
- Manage S3 bucket operations
- Control access to S3 objects with time-limited URLs
Prerequisites
Before setting up the AWS S3 Connector, ensure you have:
- An AWS account with appropriate permissions
- IAM user credentials (Access Key ID and Secret Access Key)
- S3 buckets configured with proper policies
- Understanding of AWS regions and S3 operations
Setup Instructions
Step 1: Create IAM User
- Sign in to the AWS Management Console
- Navigate to IAM (Identity and Access Management)
- Click Users > Add users
- Enter a user name (e.g., "leena-ai-s3-integration")
- Select Access key - Programmatic access
- Click Next: Permissions
Step 2: Set IAM Permissions
- Choose Attach existing policies directly
- Search for and select appropriate S3 policies:
- For read-only access:
AmazonS3ReadOnlyAccess - For specific bucket access: Create a custom policy
- For read-only access:
- Click Next: Tags (optional)
- Click Next: Review
- Click Create user
Step 3: Save Credentials
After creating the IAM user:
- Download the credentials CSV file
- Store the following information securely:
- Access Key ID
- Secret Access Key
Important: The secret access key is only shown once. If lost, you'll need to create new credentials.
Step 4: Configure Connector
In the application, provide the following information:
| Field | Description | Example |
|---|---|---|
| Access Key ID | Your AWS IAM user access key | AKIAIOSFO... |
| Secret Access Key | Your AWS IAM user secret key | wJalrXUtnFEMI/... |
Actions
Get S3 Public URL
Generate a public URL for an S3 object that can be accessed without authentication.
Required Inputs
| Parameter | Description | Example |
|---|---|---|
| Region | AWS region where the S3 bucket is located | us-east-1 |
| Bucket | The name of the S3 bucket | my-public-bucket |
| Key | The key (path and filename) of the object | folder/document.pdf |
Use Cases
- Public assets like images, CSS, JavaScript files
- Publicly shared documents
- Content that doesn't require authentication
Get S3 Pre-Signed URL
Generate a time-limited pre-signed URL for secure access to private S3 objects.
Required Inputs
| Parameter | Description | Example |
|---|---|---|
| Region | AWS region where the S3 bucket is located | us-east-1 |
| Command Type | The type of operation | GET |
Conditional Required Inputs (when Command Type is "GET")
| Parameter | Description | Example |
|---|---|---|
| Bucket | The name of the S3 bucket | secure-documents |
| Key | The key (path and filename) of the object | private/report.pdf |
Optional Inputs
| Parameter | Description | Default | Example |
|---|---|---|---|
| Expiry Time | URL expiration time in seconds | 86400 (24 hours) | 3600 |
Use Cases
- Temporary access to private files
- Secure document sharing
- Time-limited download links
- Protected media content
Support
For additional support or questions about the AWS S3 Connector, please contact your system administrator or refer to the AWS S3 documentation.
Additional Resources
Updated about 19 hours ago
