MinIO Download

MinIO Download

Certified

Download a file from a MinIO bucket

Downloads a single object from a MinIO bucket to Kestra's internal storage.

yaml
type: io.kestra.plugin.minio.Download
yaml
id: minio_download
namespace: company.team

tasks:
  - id: download_from_storage
    type: io.kestra.plugin.minio.Download
    accessKeyId: "<access-key>"
    secretKeyId: "{{ secret('MINIO_SECRET_KEY_ID') }}"
    region: "eu-central-1"
    bucket: "my-bucket"
    key: "path/to/file"

Download file from an S3-compatible storage — here, Spaces Object Storage from Digital Ocean.

yaml
id: s3_compatible_download
namespace: company.team

tasks:
  - id: download_from_storage
    type: io.kestra.plugin.minio.Download
    accessKeyId: "<access-key>"
    secretKeyId: "{{ secret('MINIO_SECRET_KEY_ID') }}"
    endpoint: https://<region>.digitaloceanspaces.com
    bucket: "kestra-test-bucket"
    key: "data/orders.csv"
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).

URL to the MinIO endpoint

The key of a file to download

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 specific version of the object

The size of the body in bytes

Formaturi

The URI of the downloaded file on Kestra's internal storage

Unitbytes

The size in bytes of the downloaded file from the MinIO bucket.