Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[azfile] Az File Go SDK to support generation of SAS key from azidentity creds. #21051

Closed
saisankargochhayat opened this issue Jun 23, 2023 · 2 comments
Assignees
Labels
AzFile customer-reported Issues that are reported by GitHub users external to the Azure organization. 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)

Comments

@saisankargochhayat
Copy link

saisankargochhayat commented Jun 23, 2023

Feature Request

Today the only way we can create a SAS key is using a client using shared key - NewClientWithSharedKeyCredential
And use the same to create a SAS key for file share, however with the articles recommendation - https://learn.microsoft.com/en-us/azure/key-vault/secrets/overview-storage-keys is to handle authentication via azidentity or managed identity in both cases we don't have support for SAS link creation.
It would be helpful to add that so that services don't need to handle shared key in service code and also the shared key support is in deprecation path.

@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jun 23, 2023
@souravgupta-msft souravgupta-msft added Storage Storage Service (Queues, Blobs, Files) AzFile labels Jun 24, 2023
@souravgupta-msft souravgupta-msft self-assigned this Jun 24, 2023
@github-actions github-actions bot removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jun 24, 2023
@souravgupta-msft
Copy link
Member

@saisankargochhayat, Azure Files does not have support for signing SAS using azidentity creds. You can only use Shared Key for creating SAS in azfile.

@souravgupta-msft
Copy link
Member

Closing this as it is not supported by the service.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
AzFile customer-reported Issues that are reported by GitHub users external to the Azure organization. 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)
Projects
None yet
Development

No branches or pull requests

2 participants