Repository navigation
Releases
Releases · phil-a/waffle_azure
v0.3.0
This release adds managed identity authentication, so apps on Azure can use Blob Storage without an account key.
- Hex: waffle_azure
- Docs: hexdocs
{:waffle_azure, "~> 0.3.0"}Added
- Managed identity authentication. Set
credential: :managed_identityto authorize with a Microsoft Entra token. For a user-assigned identity, use{:managed_identity, client_id: "..."}. It works on App Service, Functions, Container Apps, and hosts with the Instance Metadata Service, such as VMs and AKS nodes. - User delegation SAS. With a managed identity,
signed: truereturns user delegation SAS URLs. They keep working with Shared Key access turned off. Waffle.Storage.Azure.AuthError, which reports a token or delegation key that couldn't be fetched.
See Managed identity for setup.
Account keys are still the default, so existing configurations don't need to change.
v0.2.0
Arc is deprecated, so this release moves the adapter to Waffle 2.0 and renames the package from arc_azure to waffle_azure.
- Hex: waffle_azure
- Docs: hexdocs
{:waffle_azure, "~> 0.2.0"},
{:waffle, "~> 2.0"}Breaking changes
- The package is now
waffle_azureand the module isWaffle.Storage.Azure. - Configuration has moved to Waffle's
bucketandasset_hostsettings, replacingcontainerandcdn_url. A customasset_hostnow includes the container. - Your account and key now go under
config :waffle_azure. - Elixir 1.16 or later is required.
To upgrade, follow Migrating from arc_azure.
Added
- Signed URLs
- Stream uploads
- Block uploads for large files
- Deleting by plain file name
- Blob properties other than
content_type, set throughs3_object_headers
Changed
- URLs are now percent-encoded.
signed: truenow returns a working signed URL, and thetemp_url_*options are gone.deletelogs any failure and still returns:ok.ex_azureanderlazureare replaced by a small Req-based client, sinceex_azureno longer compiles on current Elixir.
Release v0.1.2
- Pass in content-type of object
- Updated ex_doc
- Added examples in docs
Initial release
v0.1.0 Update configuration for cdn_url in readme