You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b0100a9
Browse filesBrowse the repository at this point in the historyBrowse files
On relative base path root
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Packaging From Version 11.0.0-beta.26381.1 -> To Version 11.0.0-beta.26407.8
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
# Azure CLI can emit non-fatal Python warnings to stderr even when signing succeeds.
78
+
# Use the exit code to determine success for this invocation.
79
+
$PSNativeCommandUseErrorActionPreference=$false
80
+
$signatureBase64= az keyvault key sign `
81
+
--vault-name $KeyVaultName`
82
+
--name $KeyName`
83
+
--algorithm RS256 `
84
+
--digest $digestBase64`
85
+
--query signature `
86
+
--output tsv `
87
+
--only-show-errors
88
+
$signExitCode=$LASTEXITCODE
89
+
}
90
+
catch {
91
+
Write-PipelineTelemetryError-Category 'Build'-Message "Failed to sign the JWT via Key Vault (key '$KeyName', vault '$KeyVaultName'): $_. Verify the service connection identity has the 'Key Vault Crypto User' role (Sign action) on the key."
if ($signExitCode-ne0-or [string]::IsNullOrWhiteSpace($signatureBase64)) {
98
+
Write-PipelineTelemetryError-Category 'Build'-Message "'az keyvault key sign' exited with code $signExitCode for key '$KeyName' in vault '$KeyVaultName'. Verify the service connection identity has the 'Key Vault Crypto User' role (Sign action) on the key."
Write-PipelineTelemetryError-Category 'Build'-Message "Failed to list GitHub App installations: $_. The signed JWT may be invalid or the App's Client ID ('$AppClientId') may be incorrect."
Write-PipelineTelemetryError-Category 'Build'-Message "Failed to mint an installation access token for '$InstallationOwner' (installation $($installation.id)): $_"
144
+
exit1
145
+
}
146
+
147
+
Write-Host"Got installation token for '$InstallationOwner' (expires $($tokenResponse.expires_at))."
# Due to https://github.com/NuGet/Home/issues/10291, we must actually remove the disabled entries
0 commit comments