Skip to content

Conversation

@EmmaZhu
Copy link
Member

@EmmaZhu EmmaZhu commented Nov 25, 2025

Packages impacted by this PR

Issues associated with this PR

Describe the problem that is addressed by this PR

What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?

Are there test cases added in this PR? (If not, why?)

Provide a list of related PRs (if any)

Command used to generate this PR:**(Applicable only to SDK release request PRs)

Checklists

  • Added impacted package name to the issue description
  • Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
  • Added a changelog (if necessary)

there are more than one possible design, why was the one in this PR
chosen?

request PRs)_

- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
…Azure#34803)

there are more than one possible design, why was the one in this PR
chosen?

request PRs)_

- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
Copilot AI review requested due to automatic review settings November 25, 2025 19:36
@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Nov 25, 2025
@EmmaZhu
Copy link
Member Author

EmmaZhu commented Nov 25, 2025

@jeremymeng , this PR changed API file and pnpm lock file. Could you help to review?

Copilot finished reviewing on behalf of EmmaZhu November 25, 2025 19:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds support for Azure Storage service version 2026-02-06 with User Delegation SAS functionality and Principal-Bound Identity User Delegation SAS across multiple storage packages (queue, file-share, and file-datalake). The changes include:

  • Service API version upgrade from 2025-11-05 to 2026-02-06
  • User delegation key support for generating SAS tokens using Azure AD tokens
  • New SAS parameters for user delegation (skoid, sktid, skt, ske, sks, skv, sduoid)
  • Principal-bound identity support via delegatedUserObjectId parameter
  • Generated code from updated Swagger specifications
  • Test coverage for new user delegation SAS functionality

Reviewed changes

Copilot reviewed 72 out of 110 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
sdk/storage/storage-queue/swagger/README.md Updates Swagger input file to new API version and autorest version
sdk/storage/storage-queue/src/utils/constants.ts Updates SDK and service version constants
sdk/storage/storage-queue/src/QueueServiceClient.ts Adds getUserDelegationKey() method
sdk/storage/storage-queue/src/QueueClient.ts Adds user delegation SAS generation methods
sdk/storage/storage-queue/src/SASQueryParameters.ts Adds user delegation key fields and parameter serialization
sdk/storage/storage-queue/src/QueueSASSignatureValues.ts Adds user delegation SAS generation logic with overloads
sdk/storage/storage-queue/test/node/sas.spec.ts Adds test cases for user delegation SAS functionality
sdk/storage/storage-queue/test/utils/* Adds test utility functions and new SAS parameters
sdk/storage/storage-file-share/* Similar changes for file-share package
sdk/storage/storage-file-datalake/* Version updates and test additions
sdk/storage/storage-queue/package.json Updates version to 12.29.0-beta.1 and dependency
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Copy link
Member

@jeremymeng jeremymeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good! Minor question: are blob and file-datalake not using the UserDelegationKey from storage-common?

import type { TokenCredential } from '@azure/core-auth';
import type { TransferProgressEvent } from '@azure/core-rest-pipeline';
import type { UserAgentPolicyOptions } from '@azure/core-rest-pipeline';
import { UserDelegationKey as UserDelegationKey_2 } from '@azure/storage-common';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this because we still have another different UserDelegationKey in file-share? Do we need both?


// @public
export interface ShareProtocolSettings {
// Warning: (ae-forgotten-export) The symbol "ShareNfsSettings" needs to be exported by the entry point index.d.ts
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to fix this warning.


// @public
export interface ShareSmbSettings {
// Warning: (ae-forgotten-export) The symbol "ShareSmbSettingsEncryptionInTransit" needs to be exported by the entry point index.d.ts
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to fix this warning.

import { StorageSharedKeyCredentialPolicy } from '@azure/storage-common';
import type { TokenCredential } from '@azure/core-auth';
import type { UserAgentPolicyOptions } from '@azure/core-rest-pipeline';
import { UserDelegationKey as UserDelegationKey_2 } from '@azure/storage-common';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same question as the one for file-share.

@github-actions
Copy link

github-actions bot commented Nov 26, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

@azure/storage-blob
@azure/storage-common
@azure/storage-file-datalake
@azure/storage-file-share
@azure/storage-queue


// @public
export interface ShareNfsSettings {
// Warning: (ae-forgotten-export) The symbol "ShareNfsSettingsEncryptionInTransit" needs to be exported by the entry point index.d.ts
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This warning still needs fix.

Copy link
Member

@blueww blueww left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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