Copy
Copy a file between buckets.
yaml
type: "io.kestra.plugin.minio.Copy"
yaml
id: minio_copy
namespace: company.team
tasks:
- id: copy
type: io.kestra.plugin.minio.Copy
accessKeyId: "<access-key>"
secretKeyId: "<secret-key>"
region: "eu-central-1"
from:
bucket: "my-bucket"
key: "path/to/file"
to:
bucket: "my-bucket2"
key: "path/to/file2"
Copy file in an S3-compatible storage — here, Spaces Object Storage from Digital Ocean.
yaml
id: s3_compatible_copy
namespace: company.team
tasks:
- id: copy_file
type: io.kestra.plugin.minio.Copy
accessKeyId: "<access-key>"
secretKeyId: "<secret-key>"
endpoint: https://<region>.digitaloceanspaces.com
from:
bucket: "my-bucket"
key: "path/to/file"
to:
bucket: "my-bucket2"
key: "path/to/file2"
Dynamic YES
Access Key Id for authentication.
Dynamic YES
The bucket name.
Dynamic YES
Default false
Dynamic YES
URL to the MinIO endpoint.
Dynamic NO
The source bucket and key.
Dynamic YES
MinIO region with which the SDK should communicate.
Dynamic YES
Secret Key Id for authentication.
Dynamic NO
The destination bucket and key.
The version of the object.
Dynamic YES
The bucket name
Dynamic YES
The bucket key
Dynamic YES
The specific version of the object.
Dynamic YES
The bucket name
Dynamic YES
The bucket key