Copy Copy

yaml
type: "io.kestra.plugin.azure.storage.blob.Copy"

Copy a file between Azure Blob Storage.

Examples

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

Properties

endpoint

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

The blob service endpoint.

additionally parses it for information (SAS token)

from

The source.

to

The destination.

connectionString

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

Connection string of the storage account.

delete

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

Delete the source file after copy

sasToken

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

The SAS token to use for authenticating requests.

This string should only be the query parameters (with or without a leading '?') and not a full url.

sharedKeyAccountAccessKey

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

Shared Key access key for authenticating requests

sharedKeyAccountName

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

Shared Key account name for authenticating requests

Outputs

blob

The blob copied

Definitions

Blob

container

  • Type: string
  • Dynamic:
  • Required:

name

  • Type: string
  • Dynamic:
  • Required:

size

  • Type: integer
  • Dynamic:
  • Required:

uri

  • Type: string
  • Dynamic:
  • Required:

CopyObject

container

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

The blob container

name

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

The full blob path on the container