SetAccessControl
SetAccessControl
yaml
type: "io.kestra.plugin.azure.storage.adls.update.SetAccessControl"
Set access controls to a file from Azure Data Lake Storage.
Examples
yaml
id: azure_storage_datalake_set_access_control
namespace: company.team
tasks:
- id: lease_file
type: io.kestra.plugin.azure.storage.adls.update.SetAccessControl
endpoint: "https://yourblob.blob.core.windows.net"
sasToken: "{{ secret('SAS_TOKEN') }}"
fileSystem: "mydata"
filePath: "path/to/myfile"
groupPermissions:
readPermissions: true
ownerPermissions:
readPermissions: true
writePermissions: true
otherPermissions:
readPermissions: true
Properties
endpoint
- Type: string
- Dynamic: ✔️
- Required: ✔️
The blob service endpoint.
filePath
- Type: string
- Dynamic: ✔️
- Required: ✔️
File path
Full path of the file in its file system
fileSystem
- Type: string
- Dynamic: ✔️
- Required: ✔️
The name of the file systems. If the path name contains special characters, pass in the url encoded version of the path name.
connectionString
- Type: string
- Dynamic: ✔️
- Required: ❌
Connection string of the Storage Account.
groupPermissions
- Type: SetAccessControl-Permission
- Dynamic: ❓
- Required: ❌
Group permissions.
otherPermissions
- Type: SetAccessControl-Permission
- Dynamic: ❓
- Required: ❌
Other permissions.
ownerPermissions
- Type: SetAccessControl-Permission
- Dynamic: ❓
- Required: ❌
Owner permissions.
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.
Definitions
io.kestra.plugin.azure.storage.adls.update.SetAccessControl-Permission
Properties
executePermission
- Type:
- boolean
- string
- Dynamic: ✔️
- Required: ❌
readPermission
- Type:
- boolean
- string
- Dynamic: ✔️
- Required: ❌
writePermission
- Type:
- boolean
- string
- Dynamic: ✔️
- Required: ❌
Was this page helpful?