Copy Copy

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

Copy a file between buckets.

Examples

yaml
id: "copy"
type: "io.kestra.plugin.minio.Copy"
accessKeyId: "<access-key>"
secretKeyId: "<secret-key>"
region: "eu-central-1"
from:
  bucket: "my-bucket"
  key: "path/to/file"
to:
  bucket: "my-bucket2"
  key: "path/to/file2"

Properties

accessKeyId

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

Access Key Id for authentication.

bucket

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

The bucket name.

delete

  • Type: boolean
  • Dynamic:
  • Required:
  • Default: false

Whether to delete the source file after download.

endpoint

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

URL to the MinIO endpoint.

from

The source bucket and key.

region

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

MinIO region with which the SDK should communicate.

secretKeyId

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

Secret Key Id for authentication.

to

The destination bucket and key.

Outputs

bucket

  • Type: string
  • Dynamic:
  • Required:

key

  • Type: string
  • Dynamic:
  • Required:

versionId

  • Type: string
  • Dynamic:
  • Required:

The version of the object.

Definitions

io.kestra.plugin.minio.Copy-CopyObjectFrom

Properties

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

The bucket name

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

The bucket key

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

The specific version of the object.

io.kestra.plugin.minio.Copy-CopyObject

Properties

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

The bucket name

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

The bucket key

Was this page helpful?