
MinIO Downloads
CertifiedDownloads multiple files from a MinIO bucket
MinIO Downloads
Downloads multiple files from a MinIO bucket
Downloads multiple objects matching a prefix or pattern from a MinIO bucket to Kestra's internal storage.
type: io.kestra.plugin.minio.DownloadsExamples
id: minio_downloads
namespace: company.team
tasks:
- id: downloads
type: io.kestra.plugin.minio.Downloads
accessKeyId: "<access-key>"
secretKeyId: "{{ secret('MINIO_SECRET_KEY_ID') }}"
region: "eu-central-1"
bucket: "my-bucket"
prefix: "sub-dir"
action: "DELETE"
Download files from an S3-compatible storage — here, Spaces Object Storage from Digital Ocean.
id: s3_compatible_downloads
namespace: company.team
tasks:
- id: downloads
type: io.kestra.plugin.minio.Downloads
accessKeyId: "<access-key>"
secretKeyId: "{{ secret('MINIO_SECRET_KEY_ID') }}"
endpoint: https://<region>.digitaloceanspaces.com
bucket: "kestra-test-bucket"
prefix: "data/orders"
action: "DELETE"
Properties
action *Requiredstring
MOVEDELETENONEThe action to perform on the retrieved files. If using 'NONE' make sure to handle the files inside your flow to avoid infinite triggering
accessKeyId string
Access Key Id for authentication
bucket string
The bucket name
caPem string
CA PEM certificate content
CA certificate as text, used to verify SSL/TLS connections to custom MinIO endpoints.
clientPem string
Client PEM certificate content
PEM client certificate as text, used to authenticate the connection to MinIO (mTLS).
delimiter string
A delimiter is a character you use to group keys
endpoint string
URL to the MinIO endpoint
filter string
BOTHFILESDIRECTORYBOTHThe type of objects to filter: files, directory, or both
marker string
Marker is where you want to start listing from
Start listing after this specified key. Marker can be any key in the bucket.
maxKeys integerstring
1000Sets the maximum number of keys returned in the response
By default, the action returns up to 1,000 key names. The response might contain fewer keys but will never contain more.
moveTo
The destination bucket and key for MOVE action
io.kestra.plugin.minio.Copy-CopyObject
The bucket name
The bucket key
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
prefix string
Limits the response to keys that begin with the specified prefix
regexp string
A regexp to filter on full key
ex:
regExp: .* to match all files
regExp: .*2020-01-0.\\.csv to match files between 01 and 09 of january ending with .csv
region string
MinIO region with which the SDK should communicate
secretKeyId string
Secret Key Id for authentication
ssl Non-dynamic
SSL/TLS configuration options
io.kestra.core.http.client.configurations.SslOptions
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.
Outputs
objects array
The list of objects
io.kestra.plugin.minio.model.MinioObject
date-timeio.kestra.plugin.minio.model.Owner
urioutputFiles object
The downloaded files as a map of from/to URIs
Metrics
file.size counter
bytesThe size in bytes of the downloaded file from the MinIO bucket.