N8N Tools - S3 Enhanced
Actions66
- Generate Presigned URL
- Generate Presigned POST
- Create Bucket
- Delete Bucket
- List Buckets
- Upload Object
- Download Object
- Delete Object
- List Objects
- Copy Object
- Get Object ACL
- Put Object ACL
- Get Bucket ACL
- Put Bucket ACL
- Get Bucket CORS
- Put Bucket CORS
- Delete Bucket CORS
- Get Bucket Lifecycle
- Put Bucket Lifecycle
- Delete Bucket Lifecycle
- Get Bucket Policy
- Put Bucket Policy
- Delete Bucket Policy
- Get Object Tagging
- Put Object Tagging
- Delete Object Tagging
- Get Bucket Tagging
- Put Bucket Tagging
- Delete Bucket Tagging
- Create Multipart Upload
- Upload Part
- Complete Multipart Upload
- Abort Multipart Upload
- List Parts
- List Multipart Uploads
- Get Bucket Versioning
- Put Bucket Versioning
- Get Bucket Logging
- Put Bucket Logging
- Get Bucket Notification
- Put Bucket Notification
- Get Bucket Replication
- Put Bucket Replication
- Delete Bucket Replication
- Get Bucket Encryption
- Put Bucket Encryption
- Delete Bucket Encryption
- Get Bucket Website
- Put Bucket Website
- Delete Bucket Website
- Get Bucket Metrics
- Put Bucket Metrics
- Delete Bucket Metrics
- Get Bucket Analytics
- Put Bucket Analytics
- Delete Bucket Analytics
- Get Bucket Inventory
- Put Bucket Inventory
- Delete Bucket Inventory
- Get Bucket Request Payment
- Put Bucket Request Payment
- Get Bucket Accelerate
- Put Bucket Accelerate
- Head Object
- Restore Object
- Select Object Content
Overview
This node provides enhanced operations for managing Amazon S3 buckets and objects, including advanced features like presigned URLs, multipart uploads, bucket policies, encryption, lifecycle rules, and more. It is designed to facilitate comprehensive interaction with S3-compatible storage services within n8n workflows.
The "Get Bucket Encryption" operation specifically retrieves the server-side encryption configuration of a specified S3 bucket. This is useful when you want to verify or audit the encryption settings applied to your bucket to ensure data security compliance.
Practical example:
- You have an S3 bucket storing sensitive data and want to confirm that server-side encryption is enabled and configured correctly before processing or sharing data from it. Using this node's "Get Bucket Encryption" operation, you can programmatically fetch the encryption settings as part of an automated workflow.
Properties
| Name | Meaning |
|---|---|
| Bucket Name | Name of the S3 bucket to operate on. |
For this specific operation ("Get Bucket Encryption"), only the Bucket Name property is required.
Output
The output JSON contains the following fields:
bucket: The name of the bucket queried.serverSideEncryptionConfiguration: The encryption configuration object returned by the S3 service, detailing the server-side encryption rules applied to the bucket.
Additionally, the output includes metadata fields added by the node:
operation: The operation performed (e.g., "getBucketEncryption").timestamp: ISO string timestamp of when the operation was executed.success: Boolean indicating if the operation succeeded (true).
No binary data is output by this operation.
Example output snippet:
{
"bucket": "my-bucket-name",
"serverSideEncryptionConfiguration": {
"Rules": [
{
"ApplyServerSideEncryptionByDefault": {
"SSEAlgorithm": "AES256"
}
}
]
},
"operation": "getBucketEncryption",
"timestamp": "2024-06-01T12:00:00.000Z",
"success": true
}
Dependencies
- Requires valid credentials for an S3-compatible service with permissions to get bucket encryption configuration.
- Uses AWS SDK v3 for JavaScript internally.
- The node expects an API key credential with access key ID and secret access key, optionally with session token, region, endpoint, and path style configuration.
- No additional environment variables are needed beyond standard n8n credential setup.
Troubleshooting
Common issues:
- Invalid or missing credentials will cause authentication errors.
- Insufficient permissions on the bucket may result in Access Denied errors.
- Incorrect bucket name or non-existent bucket will cause Not Found errors.
- Network or endpoint misconfiguration can lead to connection failures.
Error messages and resolutions:
"Invalid Access Key ID. Please check your credentials."— Verify your access key ID."Invalid Secret Access Key. Please check your credentials."— Verify your secret access key."Access denied. Check your credentials and permissions."— Ensure your credentials have permission to performGetBucketEncryption."Cannot connect to endpoint. Check your endpoint URL and network connection."— Confirm the endpoint URL and network connectivity."S3 operation failed: <error message>"— General catch-all error; inspect the detailed message for specifics.