This is the bicep format for table access policy
resource symbolicname 'Microsoft.Storage/storageAccounts/tableServices/tables@2023-01-01' = {
name: 'string'
parent: resourceSymbolicName
properties: {
signedIdentifiers: [
{
accessPolicy: {
expiryTime: 'string'
permission: 'string'
startTime: 'string'
}
id: 'string'
}
]
}
}
permission | List of abbreviated permissions. Supported permission values include ‘r’,’a’,’u’,’d’ | string (required) |
---|
so i need to give permission of read and update. but the expected vaule is string and i am not sure how to provide muliple access permission
2
Answers
We can provide the string as permission: 'raud' r - read a - add u - update d - delete
There are very few official sample codes about this, I find an community one, it is about
fileshares
, but has the same pattern fortables
Just change the sample permission
'rcl'
to'raud'
https://github.com/LinkedInLearning/manage-storage-in-azure-4413556/blob/bfdfa83be5d6b0163167db47e663948c24db96c1/chapter-4/04_06/standard-storage.bicep#L132