SharedAccess ​Shared​Access

yaml
type: "io.kestra.plugin.azure.storage.adls.sharedaccess"
yaml
id: azure_storage_adls_shared_access
namespace: company.team

pluginDefaults:
  - type: io.kestra.plugin.azure.storage.adls
    values:
      connectionString: "{{ secret('AZURE_CONNECTION_STRING') }}"
      fileSystem: "tasks"
      endpoint: "https://yourblob.blob.core.windows.net"

tasks:
    - id: download_request
      type: io.kestra.plugin.core.http.Download
      uri: https://dummyjson.com/products

    - id: to_ion
      type: io.kestra.plugin.serdes.json.JsonToIon
      from: "{{ outputs.download_request.uri }}"

    - id: upload_file
      type: io.kestra.plugin.azure.storage.adls.Upload
      fileName: "adls/product_data/product.json"
      from: "{{ outputs.to_ion.uri }}"

    - id: shared_access
      type: io.kestra.plugin.azure.storage.adls.SharedAccess
      fileName: "adls/product_data/product.json"
      expirationDate: "{{ now() | dateAdd(1, 'DAYS') }}"
      permissions:
        - READ

    - id: download_file_with_token
      type: io.kestra.plugin.core.http.Download
      uri: "{{ outputs.shared_access.uri }}"
Properties
SubType string
Possible Values
READADDCREATEWRITEDELETELISTMOVEEXECUTEMANAGE_OWNERSHIPMANAGE_ACCESS_CONTROL
Format uri