[FEATURE REQ] Add the PathGetPropertiesAction getStatus
on the Data Lake client getProperties
request
#43176
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Storage
Storage Service (Queues, Blobs, Files)
Is your feature request related to a problem? Please describe.
My org is using Customer Provided Key encryption for the Azure Data Lake Storage service, and we rely on getting the
x-ms-encryption-context
header from files when we do a request to the service with the wrong encryption key as we use the value stored in this header to help derive the right key for the file.In order to get this header, we use the Path Get Properties endpoint in the REST API and set the PathGetPropertiesAction query param as
getStatus
to retrieve this. Using this method we do not access the user data of the file and only get the system defined properties attached to it, hence encryption checks are not done.Describe the solution you'd like
Expose a method in the
DataLakePathClient
class that sets theaction=getStatus
query param for thegetProperties
method:https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakePathClient.java#L1463-L1465
Describe alternatives you've considered
I explored all of the different getProperties methods exposed already but none are returning the header I need
x-ms-encryption-context
Additional context
Add any other context or screenshots about the feature request here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: