mount ADLS as a user and honor their ACLs #1282
-
Is there some combination of config options that allows blobfuse2 to mount ADLS with HNS as a user and honor their ACLs? We would like to mount our datalake into linux DSVMs in Azure but want to restrict where the user can read/write based on our Azure AD groups and ACLs assigned to the datalake folders. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
By user if you mean native linux user then no there is no such config. This is mainly because in unix uid/gid are integers while in Azure backend these are GUIDs so there is no direct correlation. However, if you have set ACLs for one of your identities then you can auth using MSI and then provide enterprise application's object ID as "object id" in blobfuse config and it will honor the ACLs set. This will also need you to provide an extra flag to "respect-acls". Once this id done you will see the same ACLs as that of identity given in your account/container/blobs. Object-id to be provided can be found from the portal or you set ACL for any blob for your identity and an GUID will be displayed against your identity in ACL section we need that GUID as object-id. |
Beta Was this translation helpful? Give feedback.
-
In |
Beta Was this translation helpful? Give feedback.
In
azstorage
section of your config file addhonour-acl: true
andobjid: <object id for MSI>
to make this thing work.