Upload
yaml
type: "io.kestra.plugin.minio.upload"
Examples
yaml
id: minio_upload
namespace: company.team
inputs:
id: file
type: FILE
tasks:
- id: upload_to_storage
type: io.kestra.plugin.minio.Upload
accessKeyId: "<access-key>"
secretKeyId: "<secret-key>"
region: "eu-central-1"
from: "{{ inputs.file }}"
bucket: "my-bucket"
key: "path/to/file"
yaml
id: s3_compatible_upload
namespace: company.team
tasks:
- id: http_download
type: io.kestra.plugin.core.http.Download
uri: https://huggingface.co/datasets/kestra/datasets/raw/main/csv/orders.csv
- id: upload_to_storage
type: io.kestra.plugin.minio.Upload
accessKeyId: "<access-key>"
secretKeyId: "<secret-key>"
endpoint: https://<region>.digitaloceanspaces.com #example regions: nyc3, tor1
bucket: "kestra-test-bucket"
from: "{{ outputs.http_download.uri }}"
key: "data/orders.csv"
Properties
accessKeyId string
bucket string
contentType string
endpoint string
from Liststring
key string
metadata object
SubType string
region string
secretKeyId string
Outputs
bucket string
key string
versionId string
Definitions
List objects on a MinIO bucket.
accessKeyId string
bucket string
delimiter string
endpoint string
filter string
Default
BOTH
Possible Values
FILES
DIRECTORY
BOTH
includeVersions booleanstring
Default
true
marker string
maxKeys integerstring
Default
1000
prefix string
recursive booleanstring
Default
true