
Copy
CertifiedCopy an object within or between Huawei OBS buckets
Copy
Certified
Copy an object within or between Huawei OBS buckets
yaml
type: io.kestra.plugin.huawei.obs.CopyExamples
yaml
id: obs_copy
namespace: company.team
tasks:
- id: copy
type: io.kestra.plugin.huawei.obs.Copy
accessKeyId: "{{ secret('HUAWEI_AK') }}"
secretAccessKey: "{{ secret('HUAWEI_SK') }}"
region: "eu-west-101"
from:
bucket: "my-source-bucket"
key: "raw/2024/data.csv"
to:
bucket: "my-dest-bucket"
key: "processed/2024/data.csv"
yaml
id: obs_move
namespace: company.team
tasks:
- id: move
type: io.kestra.plugin.huawei.obs.Copy
accessKeyId: "{{ secret('HUAWEI_AK') }}"
secretAccessKey: "{{ secret('HUAWEI_SK') }}"
region: "eu-west-101"
from:
bucket: "my-bucket"
key: "inbox/file.csv"
to:
bucket: "my-bucket"
key: "archive/file.csv"
delete: true
Properties
from *RequiredNon-dynamic
Definitions
io.kestra.plugin.huawei.obs.Copy-CopyObjectFrom
bucket*Requiredstring
key*Requiredstring
versionIdstring
to *RequiredNon-dynamic
Definitions
io.kestra.plugin.huawei.obs.Copy-CopyObjectTo
bucket*Requiredstring
key*Requiredstring
accessKeyId string
authType string
Possible Values
OBSV2V4delete booleanstring
Default
falsedomainId string
endpointOverride string
endpointSuffix string
Default
myhuaweicloud.compathStyleAccess booleanstring
pluginDefaultsRef Non-dynamicstring
projectId string
region string
secretAccessKey string
securityToken string
temporaryCredentials string
Definitions
io.kestra.plugin.huawei.TemporaryCredentialsConfig
authMethodstring
Default
PASSWORDPossible Values
PASSWORDTOKENdomainNamestring
durationSecondsintegerstring
Default
900endpointSuffixstring
Default
myhuaweicloud.comiamTokenstring
passwordstring
projectNamestring
scopestring
Default
PROJECTPossible Values
PROJECTDOMAINusernamestring