diff --git a/eng/common/pipelines/templates/archetype-typespec-emitter.yml b/eng/common/pipelines/templates/archetype-typespec-emitter.yml index 85a292b8c323..21fafd58d05e 100644 --- a/eng/common/pipelines/templates/archetype-typespec-emitter.yml +++ b/eng/common/pipelines/templates/archetype-typespec-emitter.yml @@ -172,14 +172,15 @@ extends: - ${{ if parameters.PublishPublic }}: # publish to npmjs.org using ESRP - - task: EsrpRelease@7 + - task: EsrpRelease@9 inputs: displayName: Publish to npmjs.org - ConnectedServiceName: Azure SDK Engineering System + ConnectedServiceName: Azure SDK PME Managed Identity ClientId: 5f81938c-2544-4f1f-9251-dd9de5b8a81b - KeyVaultName: AzureSDKEngKeyVault - AuthCertName: azure-sdk-esrp-release-auth-certificate - SignCertName: azure-sdk-esrp-release-sign-certificate + DomainTenantId: 975f013f-7f24-47e8-a7d3-abc4752bf346 + UseManagedIdentity: true + KeyVaultName: kv-azuresdk-codesign + SignCertName: azure-sdk-esrp-release-certificate Intent: PackageDistribution ContentType: npm FolderLocation: $(buildArtifactsPath)/packages @@ -187,7 +188,6 @@ extends: Approvers: ${{ coalesce(variables['Build.RequestedForEmail'], 'azuresdk@microsoft.com') }} ServiceEndpointUrl: https://api.esrp.microsoft.com MainPublisher: ESRPRELPACMANTEST - DomainTenantId: 72f988bf-86f1-41af-91ab-2d7cd011db47 - task: PowerShell@2 displayName: Create emitter-package.json diff --git a/eng/common/pipelines/templates/jobs/prepare-pipelines.yml b/eng/common/pipelines/templates/jobs/prepare-pipelines.yml index cbfd4e4f34c2..d874216cc8d8 100644 --- a/eng/common/pipelines/templates/jobs/prepare-pipelines.yml +++ b/eng/common/pipelines/templates/jobs/prepare-pipelines.yml @@ -82,7 +82,7 @@ jobs: $generateUnifiedWeekly = 'false' $testServiceConnections = '"Azure" "azure-sdk-tests" "azure-sdk-tests-preview" "azure-sdk-tests-public" "Azure SDK Test Resources - LiveTestSecrets"' - $internalServiceConnections = '"Azure" "Azure SDK Artifacts" "Azure SDK Engineering System" "opensource-api-connection" "AzureSDKEngKeyVault Secrets"' + $internalServiceConnections = '"Azure" "Azure SDK Artifacts" "Azure SDK Engineering System" "opensource-api-connection" "AzureSDKEngKeyVault Secrets" "Azure SDK PME Managed Identity"' # Map the language to the appropriate variable groups switch ($lang)