Download Download

yaml
type: "io.kestra.plugin.minio.Download"

Download a file from a bucket.

Examples

yaml
id: minio_download
namespace: company.team

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

Properties

accessKeyId

  • Type: string
  • Dynamic: ✔️
  • Required:

Access Key Id for authentication.

bucket

  • Type: string
  • Dynamic: ✔️
  • Required:

The bucket name.

endpoint

  • Type: string
  • Dynamic: ✔️
  • Required:

URL to the MinIO endpoint.

key

  • Type: string
  • Dynamic: ✔️
  • Required:

The key of a file to download.

region

  • Type: string
  • Dynamic: ✔️
  • Required:

MinIO region with which the SDK should communicate.

secretKeyId

  • Type: string
  • Dynamic: ✔️
  • Required:

Secret Key Id for authentication.

versionId

  • Type: string
  • Dynamic: ✔️
  • Required:

The specific version of the object.

Outputs

contentLength

  • Type: integer
  • Required:

The size of the body in bytes.

uri

  • Type: string
  • Required:
  • Format: uri

Definitions

Was this page helpful?