YuangGao opened a new pull request, #8996:
URL: https://github.com/apache/opendal/pull/8996

   # Which issue does this PR close?
   
   N/A. Follow-up to #8432, aligned with #8438.
   
   # Rationale for this change
   
   The rename source only carries the SAS from `config.sas_token`, so rename 
fails when the SAS comes from the environment or a credential chain.
   
   # What changes are included in this PR?
   
   - Sign a source-only request with the resolved credential and use its URI as 
`x-ms-file-rename-source`, as #8438 does for Copy Blob. Mark the header 
sensitive when it carries the SAS.
   - Drop `AzfileCore.sas_token`.
   
   Verified against real Azure Files: 4 rename behavior tests fail on main with 
an env SAS; the full suite passes here with a config SAS, an env SAS, and an 
account key.
   
   # Are there any user-facing changes?
   
   azfile rename now works with a SAS from the environment or a credential 
chain.
   
   # Breaking changes
   
   # AI Usage Statement
   AI-assisted implementation.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to