I have an Azure Function that triggers from a directory (namespace) nested within an ADLS Gen 2 storage container.
Example:
ADLS_AccountName/topLevelContainer/Directory1/Directory2/{name}
Unfortunately, the Function requires the Connection string of the entire DataLake as an input binding (stored as an app setting in local.settings.json).
This is far too much permission for a Function to have.
How do I generate a SAS token for a given nested namespace and use that as the app setting for the Function?