Skip to content

Commit 8c88e50

Browse files
authored
Upgrade to a version ESRP Release that supports federated auth (Azure#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 395fd7e commit 8c88e50

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ parameters:
99
steps:
1010
- template: /eng/common/pipelines/templates/steps/set-default-branch.yml
1111
- ${{ if eq(parameters.Registry, 'https://registry.npmjs.org/') }}:
12-
- task: EsrpRelease@6
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)