@Devika S Welcome to Microsoft Q&A, Thank you for posting your query here!
Directory based SAS feature is generally available and we have support for JS SDK. Directory scoped shared access signatures (SAS) generally available.
Directory scoped SAS allows more granular access assignment for ADLS Gen2.azure.microsoft.com
Hope this helps!
Kindly let us know if the above helps or you need further assistance on this issue.
-------------------------------------------------------------------------------------------------------
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.