Skip to content

[FEATURE REQ] Allow for custom authentication policies in the pipeline #40438

Open

Description

The current implementation of BlobServiceClientBuilder imposes to use specific authentication policies (original introduced with changeset [^1] and later #7421). However a client may want to use custom authentication policies retrieving credentials dynamically for example. However the current implementations are defined as final which restricts any customization.

I propose the requirement is relaxed, that one can either

  • Override the throwOnAnonymousAccess check
  • Allow subclassing authentication policies (StorageSharedKeyCredentialPolicy et al.)
  • Remove the requirement on specific classes to handle authentication

[^1] https://github.com/Azure/azure-sdk-for-java/pull/22498/files#diff-6a4c707771487be8a5a5a1756dfc0fb7c98af9000ea699b1fc0d354b072dfe7c

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

Metadata

Labels

StorageStorage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions