Skip to content

Commit d9b45cd

Browse files
committed
Update argument names
1 parent 7ed5854 commit d9b45cd

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

ci/sign-files.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ steps:
2626
}
2727
$signargs = 'code artifact-signing -v Information ' + `
2828
'-fd sha256 -t http://timestamp.acs.microsoft.com -td sha256 ' + `
29-
"-tse ""${env:TSE}"" -tsa ""${env:TSA}"" -tscp ""${env:TSCP}"" -d ""${env:DESCRIPTION}"""
29+
"-ase ""${env:ASE}"" -asa ""${env:ASA}"" -ascp ""${env:ASCP}"" " + `
30+
"-act azure-cli -d ""${env:DESCRIPTION}"""
3031
3132
Write-Host "##vso[task.setvariable variable=__TrustedSigningCmd]$signtool"
3233
Write-Host "##vso[task.setvariable variable=__TrustedSigningArgs]$signargs"
@@ -37,9 +38,9 @@ steps:
3738
workingDirectory: $(Build.BinariesDirectory)
3839
displayName: 'Install Azure Artifact Signing tools'
3940
env:
40-
TSE: $(TrustedSigningUri)
41-
TSA: $(TrustedSigningAccount)
42-
TSCP: $(TrustedSigningCertificateName)
41+
ASE: $(TrustedSigningUri)
42+
ASA: $(TrustedSigningAccount)
43+
ASCP: $(TrustedSigningCertificateName)
4344
DESCRIPTION: $(SigningDescription)
4445
EXPORT_COMMAND: ${{ parameters.ExportCommand }}
4546
@@ -55,11 +56,12 @@ steps:
5556
Endpoint=$env:TSE;
5657
CodeSigningAccountName=$env:TSA;
5758
CertificateProfileName=$env:TSCP;
58-
# Only allow Azure CLI credentials and environment credentials
59+
# Only allow Azure CLI credentials
5960
ExcludeCredentials=@(
6061
"ManagedIdentityCredential",
6162
"WorkloadIdentityCredential",
6263
"SharedTokenCacheCredential",
64+
"EnvironmentCredential",
6365
"VisualStudioCredential",
6466
"VisualStudioCodeCredential",
6567
"AzurePowerShellCredential",

0 commit comments

Comments
 (0)