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 integration with S3-compatible storage services, enabling a wide range of bucket and object management operations. It supports advanced features such as generating presigned URLs for secure temporary access, multipart uploads for large files, and detailed bucket configurations including versioning, lifecycle, CORS, policies, tagging, logging, notifications, replication, encryption, website hosting, metrics, analytics, inventory, request payment, and acceleration.
The "Get Bucket Versioning" operation specifically retrieves the versioning configuration of a specified S3 bucket, including whether versioning is enabled or suspended and the status of MFA delete protection.
Common scenarios:
- Checking if versioning is enabled on a bucket before performing operations that depend on object versions.
- Auditing bucket settings to ensure compliance with data retention policies.
- Automating infrastructure checks in workflows that manage S3 buckets.
Practical example:
A workflow could use this node to verify that versioning is enabled on a backup bucket before uploading critical files, ensuring that previous versions are retained for recovery purposes.
Properties
| Name | Meaning |
|---|---|
| Bucket Name | The name of the S3 bucket whose versioning configuration you want to retrieve. |
Output
The output JSON object for the "Get Bucket Versioning" operation includes:
bucket: The name of the bucket queried.status: The versioning status of the bucket. Possible values typically include"Enabled"or"Suspended".mfaDelete: The MFA (Multi-Factor Authentication) delete status, indicating whether MFA delete protection is"Enabled"or"Disabled".
Example output JSON:
{
"bucket": "my-bucket-name",
"status": "Enabled",
"mfaDelete": "Disabled",
"operation": "getBucketVersioning",
"timestamp": "2024-06-01T12:00:00.000Z",
"success": true
}
Dependencies
- Requires an S3-compatible service endpoint accessible via network.
- Needs credentials providing access key ID, secret access key, and optionally session token.
- The node uses AWS SDK clients internally to communicate with the S3 API.
- Proper permissions must be granted to the credentials to perform the
GetBucketVersioningAPI call. - No additional environment variables are required beyond standard credential configuration.
Troubleshooting
Common issues:
- Invalid or missing credentials can cause authentication failures.
- Network connectivity problems or incorrect endpoint URLs may prevent connection.
- Insufficient permissions on the provided credentials will result in access denied errors.
- Specifying a non-existent bucket will cause errors from the S3 service.
Error messages and resolutions:
"Access denied. Check your credentials and permissions."
Ensure the credentials have permission to callGetBucketVersioningon the target bucket."Cannot connect to endpoint. Check your endpoint URL and network connection."
Verify the endpoint URL and network accessibility."S3 operation failed: <error message>"
Review the specific error message for details; it often indicates misconfiguration or permission issues.