Skip to content

feat: Add --azure-endpoint argument to the CLI#26687

Merged
mgattozzi merged 2 commits intomainfrom
mgattozzi/core/azure-endpoint
Aug 20, 2025
Merged

feat: Add --azure-endpoint argument to the CLI#26687
mgattozzi merged 2 commits intomainfrom
mgattozzi/core/azure-endpoint

Conversation

@mgattozzi
Copy link
Copy Markdown
Contributor

This commit allows users to specify the endpoint that they want when using Azure for blob storage. We also automatically enable the allow http flag so that they can specify localhost as their URL if using something like Azurite to test Azure Blob Storage locally.

Closes #26390

This commit allows users to specify the endpoint that they want when
using Azure for blob storage. We also automatically enable the allow
http flag so that they can specify localhost as their URL if using
something like Azurite to test Azure Blob Storage locally.

Closes #26390
@mgattozzi mgattozzi requested a review from a team August 11, 2025 20:04
@peterbarnett03
Copy link
Copy Markdown
Contributor

Why do we automatically enable the allow http flag? I feel that should be more of a docs info on configuration rather than something we automatically apply. Perhaps we should instead follow the AWS pattern and have a --azure-allow-http flag.

builder = builder.with_access_key(key);
}
if let Some(endpoint) = &self.azure_endpoint {
builder = builder.with_allow_http(true);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @peterbarnett03 on this, the user should be able to pass a flag that sets the allow http flag.

@philjb philjb added the v3 label Aug 19, 2025
@mgattozzi mgattozzi force-pushed the mgattozzi/core/azure-endpoint branch from 9a77aeb to e0be403 Compare August 20, 2025 14:52
@mgattozzi mgattozzi force-pushed the mgattozzi/core/azure-endpoint branch from e0be403 to 9dd0678 Compare August 20, 2025 14:54
@mgattozzi
Copy link
Copy Markdown
Contributor Author

Moved it to it's own flag. I had it as a convenience thing, but I think on further reflection that it's best to make it it's own flag.

@mgattozzi mgattozzi merged commit c8d0bd4 into main Aug 20, 2025
12 checks passed
@mgattozzi mgattozzi deleted the mgattozzi/core/azure-endpoint branch August 20, 2025 16:37
@hiltontj
Copy link
Copy Markdown
Contributor

🎉 this will need to get ported to enterprise before 3.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an --azure-endpoint argument to specify the endpoint for Azure Blob Storage

5 participants