Application built using Spring Boot 2.5.x... using latest Azure Java SDK (Azure BOM 3.9.0).
Using Spring Security and Azure Active Directory Spring Boot starter for authN/authZ... all that works... AZ security groups and App registration app roles are getting mapped correctly in spring security as granted authorities etc.
Storage blob containers have group RBAC assigned.
We have a requirement whereby we'd like to list containers for which a AD user has been granted write access (contributor role) as well as virtual folders under containers (blob prefixes) using ABAC.
All users have read, but only certain users can update blobs in some containers and/or blob folders (eg. container/admin)
Using Azure blob storage SDK to list containers and blobs, but not seeing anything in the implementation to filter by RBAC.
Some implementation details I've thought of:
blob/container index tags; tag "Admin" related blobs and using tag filters on list. Drawback is blob tags need to be managed
blob/container metadata; similar to tags, but not indexed; unsure if supported directly through the SDK
filtering stream collection returned from SDK call using either tags or metadata
Thoughts or ideas appreciated!