You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2026/05/18 09:24:33 UTC

[I] Expose Azure user delegation SAS generation for scoped credential vending [opendal-reqsign]

Xuanwo opened a new issue, #751:
URL: https://github.com/apache/opendal-reqsign/issues/751

   ## Background
   
   Credential vending for Azure Blob Storage usually means a control plane obtains a user delegation key using Azure AD credentials and then issues a SAS token restricted to a container or directory prefix.
   
   reqsign-azure-storage already has pieces around BearerToken authentication, user delegation key requests, and user delegation SAS presign. However, the public API is still centered on signing a specific request. A catalog/namespace service needs a control-plane-friendly API that returns a SAS token string and expiration for a target account/container/path/permission scope.
   
   ## Proposal
   
   Expose a public Azure user delegation SAS generation API that can:
   
   - use an existing `Credential::BearerToken` or `ProvideCredential<Credential = Credential>` to call `Get User Delegation Key`;
   - generate a SAS token for a container or path prefix;
   - accept explicit permissions and expiration;
   - return the SAS token plus its expiration timestamp;
   - use reqsign's existing `Context::http_send` path instead of depending on Azure SDK client types.
   
   The API should be usable by downstream control planes that already performed their own authorization and only need the cloud-native scoped credential.
   
   ## Relationship to SAS expiration
   
   This should build on an expiration-aware `Credential::SasToken` so callers can feed the generated SAS token back into reqsign and rely on normal credential invalidation and refresh behavior.
   
   ## Non-goals
   
   - Do not add namespace/catalog authorization logic to reqsign.
   - Do not hard-code Lance-specific permission names or storage option keys.
   - Do not require downstreams to use Azure SDK clients just to vend SAS tokens.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Expose Azure user delegation SAS generation for scoped credential vending [opendal-reqsign]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo closed issue #751: Expose Azure user delegation SAS generation for scoped credential vending
URL: https://github.com/apache/opendal-reqsign/issues/751


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org