Skip to content

Commit

Permalink
Merge pull request #11 from microsoftgraph/10-migrate-esrpcodesigning…
Browse files Browse the repository at this point in the history
…-to-v5

Updated ESRP Code Sign to version 5
  • Loading branch information
timayabi2020 authored Aug 22, 2024
2 parents fcac8ab + 123fd5e commit b420345
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions azurepipelines/common-templates/esrp/codesign-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,16 @@ parameters:
default: "*.nupkg"

steps:
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@2
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5
displayName: ESRP NuGet CodeSigning
enabled: true
inputs:
ConnectedServiceName: microsoftgraph ESRP CodeSign DLL and NuGet (AKV)
ConnectedServiceName: 'Federated DevX ESRP Managed Identity Connection'
AppRegistrationClientId: '65035b7f-7357-4f29-bf25-c5ee5c3949f8'
AppRegistrationTenantId: 'cdc5aeea-15c5-4db6-b079-fcadd2505dc2'
AuthAKVName: 'akv-prod-eastus'
AuthCertName: 'ReferenceLibraryPrivateCert'
AuthSignCertName: 'ReferencePackagePublisherCertificate'
FolderPath: ${{ parameters.FolderPath }}
Pattern: ${{ parameters.Pattern }}
signConfigType: inlineSignParams
Expand Down
9 changes: 7 additions & 2 deletions azurepipelines/common-templates/esrp/codesign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,16 @@ parameters:
default: ".*.dll"

steps:
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@2
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5
displayName: ESRP DLL CodeSigning
enabled: true
inputs:
ConnectedServiceName: microsoftgraph ESRP CodeSign DLL and NuGet (AKV)
ConnectedServiceName: 'Federated DevX ESRP Managed Identity Connection'
AppRegistrationClientId: '65035b7f-7357-4f29-bf25-c5ee5c3949f8'
AppRegistrationTenantId: 'cdc5aeea-15c5-4db6-b079-fcadd2505dc2'
AuthAKVName: 'akv-prod-eastus'
AuthCertName: 'ReferenceLibraryPrivateCert'
AuthSignCertName: 'ReferencePackagePublisherCertificate'
FolderPath: ${{ parameters.FolderPath }}
Pattern: ${{ parameters.Pattern }}
signConfigType: inlineSignParams
Expand Down

0 comments on commit b420345

Please sign in to comment.