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
The node "N8N Tools - S3 Enhanced" provides a comprehensive set of operations to interact with S3-compatible object storage services. It supports advanced features such as generating presigned URLs for secure temporary access, multipart uploads for large files, and detailed bucket and object management capabilities.
For the Get Bucket ACL operation specifically, the node retrieves the Access Control List (ACL) of a specified S3 bucket. This ACL contains information about the bucket owner and the permissions granted to various users or groups on that bucket.
Common scenarios where this node is beneficial:
- Auditing bucket permissions to ensure proper access control.
- Integrating bucket permission checks into automated workflows.
- Managing and monitoring security settings of S3 buckets programmatically.
Practical example:
You want to verify who has access to your S3 bucket named "my-bucket-name" before sharing it with a third party. Using this node's Get Bucket ACL operation, you can fetch the current ACL details and review the owners and grants to confirm the access rights.
Properties
| Name | Meaning |
|---|---|
| Bucket Name | The name of the S3 bucket whose ACL you want to retrieve. |
Output
The output JSON object for the Get Bucket ACL operation includes:
bucket: The name of the bucket queried.owner: An object representing the owner of the bucket, typically containing identifiers like ID and display name.grants: An array of grant objects describing the permissions assigned to different grantees (users, groups, etc.) on the bucket.
Example output structure:
{
"bucket": "my-bucket-name",
"owner": {
"ID": "owner-id",
"DisplayName": "owner-display-name"
},
"grants": [
{
"Grantee": {
"Type": "CanonicalUser",
"ID": "user-id",
"DisplayName": "user-display-name"
},
"Permission": "FULL_CONTROL"
},
{
"Grantee": {
"Type": "Group",
"URI": "http://acs.amazonaws.com/groups/global/AllUsers"
},
"Permission": "READ"
}
]
}
This output allows you to understand who owns the bucket and what access rights are granted to which entities.
Dependencies
- Requires an API key credential with access to an S3-compatible service.
- Uses AWS SDK clients internally to communicate with the S3 API.
- The node expects valid credentials configured in n8n for the S3-compatible service.
- Network connectivity to the S3 endpoint is required.
Troubleshooting
Common issues:
- Invalid or missing credentials will cause authentication failures.
- Incorrect bucket names may result in errors indicating the bucket does not exist.
- Insufficient permissions on the provided credentials can lead to access denied errors.
Common error messages and resolutions:
"Access denied. Check your credentials and permissions."
Ensure the API key has permission to performGetBucketAclon 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 clues; often related to invalid parameters or permissions.