Download
Download
yaml
type: "io.kestra.plugin.microsoft365.oneshare.Download"Examples
yaml
id: download_from_onedrive
namespace: company.team
tasks:
- id: download
type: io.kestra.plugin.microsoft365.oneshare.Download
tenantId: "{{ secret('TENANT_ID') }}"
clientId: "{{ secret('CLIENT_ID') }}"
clientSecret: "{{ secret('CLIENT_SECRET') }}"
driveId: "b!abc123def456"
itemId: "01ABC123DEF456GHI789"
yaml
id: download_and_process
namespace: company.team
tasks:
- id: download_file
type: io.kestra.plugin.microsoft365.oneshare.Download
tenantId: "{{ secret('TENANT_ID') }}"
clientId: "{{ secret('CLIENT_ID') }}"
clientSecret: "{{ secret('CLIENT_SECRET') }}"
driveId: "b!abc123def456"
itemId: "01ABC123DEF456GHI789"
- id: read_csv
type: io.kestra.plugin.serdes.csv.CsvReader
from: "{{ outputs.download_file.uri }}"
Properties
driveId *Requiredstring
itemId *Requiredstring
clientId string
clientSecret string
pemCertificate string
tenantId string
Outputs
uri string
Format
uri