Skip to content

[Storage] [STG94] Support more service versions in Queue, propagate StorageBearer Challenge to all packages#35356

Merged
vincenttran-msft merged 9 commits intoAzure:feature/storage-stg94from
vincenttran-msft:vincenttran/support_svc_queue
May 1, 2024
Merged

[Storage] [STG94] Support more service versions in Queue, propagate StorageBearer Challenge to all packages#35356
vincenttran-msft merged 9 commits intoAzure:feature/storage-stg94from
vincenttran-msft:vincenttran/support_svc_queue

Conversation

@vincenttran-msft
Copy link
Copy Markdown
Member

@vincenttran-msft vincenttran-msft commented Apr 25, 2024

This PR makes the following changes:

  • Bring the accepted API service versions for Queue to more closely match Blob
  • Apply this change to all packages
  • Bring the StorageBearerTokenCredentialPolicy to all remaining packages (only Blobs had this), allow for the challenge authentication to operate
  • Adjust all test cases in the "bad" audience case to no longer assert for a failure, since they will now auto-resolve

NOTE: Test recordings are missing for file-share as I am unsure of the expected behavior. Hitting this:

>   ???
E   azure.core.exceptions.ClientAuthenticationError: Operation returned an invalid status 'Forbidden'
E   ErrorCode:AuthenticationFailed

I believe it may be related to the fact that in Files it requires a token_intent so maybe expected behavior here is to still fail (or does this mean we shouldn't add StorageBearer to files?

EDIT: Left old test cases for file-share, left policy change in

@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Apr 25, 2024
@vincenttran-msft
Copy link
Copy Markdown
Member Author

/azp run python - storage - ci

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@azure-sdk
Copy link
Copy Markdown
Collaborator

API change check

API changes are not detected in this pull request.

@vincenttran-msft
Copy link
Copy Markdown
Member Author

/azp run python - storage - ci

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@vincenttran-msft vincenttran-msft merged commit 1be7b83 into Azure:feature/storage-stg94 May 1, 2024
@vincenttran-msft vincenttran-msft deleted the vincenttran/support_svc_queue branch May 1, 2024 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants