Skip to content

Commit af08bfd

Browse files
authored
Merge pull request #122598 from ThomasPiskol/patch-1
Provide working samples
2 parents 3639cd6 + 00be819 commit af08bfd

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

articles/trusted-signing/how-to-signing-integrations.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@ To download and install SignTool:
5353

5454
1. Install SignTool from the Windows SDK (minimum version: 10.0.2261.755).
5555

56-
Another option is to use the latest *nuget.exe* file to download and extract the latest SDK Build Tools NuGet package by using PowerShell:
56+
Another option is to use the latest *nuget.exe* file to download and extract the latest Windows SDK Build Tools NuGet package by using PowerShell:
5757

5858
1. Download *nuget.exe* by running the following download command:
5959

6060
```powershell
6161
Invoke-WebRequest -Uri https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile .\nuget.exe
6262
```
6363

64-
1. Install *nuget.exe* by running the following installation command:
64+
1. Download and extract Windows SDK Build Tools NuGet package by running the following installation command:
6565

6666
```powershell
67-
.\nuget.exe install Microsoft.Windows.SDK.BuildTools -Version 10.0.20348.19
67+
.\nuget.exe install Microsoft.Windows.SDK.BuildTools -Version 10.0.22621.3233 -x
6868
```
6969

7070
### Download and install .NET 8.0 Runtime
@@ -84,17 +84,23 @@ To download and install the Trusted Signing dlib package (a .zip file):
8484

8585
1. Extract the Trusted Signing dlib zipped content and install it on your signing node in your choice of directory. The node must be the node where you'll use SignTool to sign files.
8686

87+
Another option is to download the [Trusted Signing dlib package](https://www.nuget.org/packages/Microsoft.Trusted.Signing.Client) via NuGet similar like the Windows SDK Build Tools NuGet package:
88+
89+
```powershell
90+
.\nuget.exe install Microsoft.Trusted.Signing.Client -Version 1.0.53 -x
91+
```
92+
8793
### Create a JSON file
8894

8995
To sign by using Trusted Signing, you need to provide the details of your Trusted Signing account and certificate profile that were created as part of the prerequisites. You provide this information on a JSON file by completing these steps:
9096

9197
1. Create a new JSON file (for example, *metadata.json*).
92-
1. Add the specific values for your Trusted Signing account and certificate profile to the JSON file. The Trusted Signing account is interchangeably called *code signing account*. For more information, see the *metadata.sample.json* file that’s included in the Trusted Signing dlib package or use the following example:
98+
1. Add the specific values for your Trusted Signing account and certificate profile to the JSON file. For more information, see the *metadata.sample.json* file that’s included in the Trusted Signing dlib package or use the following example:
9399

94100
```json
95101
{
96102
"Endpoint": "<Trusted Signing account endpoint>",
97-
"TrustedSigningAccountName": "<Trusted Signing account name>",
103+
"CodeSigningAccountName": "<Trusted Signing account name>",
98104
"CertificateProfileName": "<certificate profile name>",
99105
"CorrelationId": "<Optional CorrelationId value>"
100106
}

0 commit comments

Comments
 (0)