MinIO Copy

MinIO Copy

Certified

Copy a file between MinIO buckets

Copies an object from one MinIO bucket and key to another, optionally deleting the source afterwards.

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('MINIO_SECRET_KEY_ID') }}"
    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('MINIO_SECRET_KEY_ID') }}"
    endpoint: https://<region>.digitaloceanspaces.com
    from:
      bucket: "my-bucket"
      key: "path/to/file"
    to:
      bucket: "my-bucket2"
      key: "path/to/file2"
Properties

Access Key Id for authentication

The bucket name

CA PEM certificate content

CA certificate as text, used to verify SSL/TLS connections to custom MinIO endpoints.

Client PEM certificate content

PEM client certificate as text, used to authenticate the connection to MinIO (mTLS).

Defaultfalse

Whether to delete the source file after download

URL to the MinIO endpoint

The source bucket and key

Definitions
bucketstring

The bucket name

keystring

The bucket key

versionIdstring

The specific version of the object

Reference (ref) of the pluginDefaults to apply to this task.

MinIO region with which the SDK should communicate

Secret Key Id for authentication

SSL/TLS configuration options

Definitions
insecureTrustAllCertificatesbooleanstring

Whether to disable checking of the remote SSL certificate.

Only applies if no trust store is configured. Note: This makes the SSL connection insecure and should only be used for testing. If you are using a self-signed certificate, set up a trust store instead.

The destination bucket and key

Definitions
bucketstring

The bucket name

keystring

The bucket key

The bucket name

The object key

The version of the object