Skip to content

Commit feedaf2

Browse files
halliprjeremymeng
authored andcommitted
Upgrade to a version ESRP Release that supports federated auth (#29612)
EsrpRelease@6 required a custom service connection that held an aad app secret in its configuration. The latest version, EsrpRelease@7, uses a standard ARM service connection, moving most of the configuration settings (KeyVaultName, AuthCertName ...) from the custom connection into the task itself.
1 parent e485aa4 commit feedaf2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

eng/pipelines/templates/steps/npm-release-task.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@ parameters:
88

99
steps:
1010
- template: /eng/common/pipelines/templates/steps/set-default-branch.yml
11-
- ${{if eq(parameters.Registry, 'https://registry.npmjs.org/')}}:
12-
- task: EsrpRelease@6
11+
- ${{ if eq(parameters.Registry, 'https://registry.npmjs.org/') }}:
12+
- task: EsrpRelease@7
1313
inputs:
1414
displayName: 'Publish ${{parameters.Artifact.name}} to ESRP'
15-
ConnectedServiceName: 'ESRP Release Service'
15+
ConnectedServiceName: 'Azure SDK Engineering System'
16+
ClientId: '5f81938c-2544-4f1f-9251-dd9de5b8a81b'
17+
KeyVaultName: 'AzureSDKEngKeyVault'
18+
AuthCertName: 'azure-sdk-esrp-release-auth-certificate'
19+
SignCertName: 'azure-sdk-esrp-release-sign-certificate'
1620
Intent: 'PackageDistribution'
1721
ContentType: 'npm'
1822
FolderLocation: ${{parameters.PathToArtifacts}}

0 commit comments

Comments
 (0)