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

[BUG] Unable to Mount Storage with Disabled Storage Account Key Access #433

Closed
ivanthewebber opened this issue Jun 5, 2024 · 3 comments
Closed
Labels
bug Something isn't working Triage-needed Triage needed by Cloud Shell team

Comments

@ivanthewebber
Copy link

For security initiative reasons we would like to disable storage account key access on all our Azure storage accounts, but it seems cloud shell is not compatible with this. Is there any planned work to use managed identity (e.g. Entra ID) instead? If so what would be the ETA? If not is there any workaround?

To Reproduce

Use Azure Cloudshell with existing storage account. Got to portal.azure.com -> storage account -> settings/configuration -> Set "Allow storage account key access" to "Disabled" and save.

Observed Behavior

image

Expected behavior

Normal working (successful mount).

Is this specific to Cloud Shell?

Yes

Interface information

Accessing Cloud Shell via - https://shell.azure.com, https://portal.azure.com on Windows 11

Additional context

See top.

@ivanthewebber ivanthewebber added bug Something isn't working Triage-needed Triage needed by Cloud Shell team labels Jun 5, 2024
@alexweininger
Copy link
Contributor

Experienced the same issue 😄

@dsajanice
Copy link
Member

Due to technical limitations with Azure File Shares, Cloud Shell cannot mount storage if the "Allow storage account key access" is Disabled. The guidance for such scenarios is to use Ephemeral Sessions in Cloud Shell that do not require mounting storage.

@mbifeld
Copy link
Member

mbifeld commented Jul 9, 2024

Closing as alternative solution is offered (understanding that this does not allow the user to have file persistance) and we are blocked by Azure File Shares support for Managed Identity to allow mounting storage with disabled key access.

@mbifeld mbifeld closed this as not planned Won't fix, can't repro, duplicate, stale Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Triage-needed Triage needed by Cloud Shell team
Projects
None yet
Development

No branches or pull requests

4 participants