compile_powershell
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| compile_powershell [2024/12/23 20:35] – kenson | compile_powershell [2025/10/25 23:11] (current) – kenson | ||
|---|---|---|---|
| Line 25: | Line 25: | ||
| </ | </ | ||
| + | The key is to get the following metadata correct and log into azure with the correct credentials | ||
| metadata.json | metadata.json | ||
| Line 34: | Line 35: | ||
| | | ||
| </ | </ | ||
| + | |||
| + | The CodeSigningAccountName is the TrustedSigningAccount in the Azure Dashboard | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The CertificateProfileName is the relevant entry in your CertificateProfile | ||
| + | |||
| + | {{: | ||
| + | |||
| + | To set up azure CLI environment for signing, from powershell run: | ||
| + | < | ||
| + | az login | ||
| + | </ | ||
| + | |||
| + | e.g. | ||
| + | |||
| + | < | ||
| + | PS C: | ||
| + | Select the account you want to log in with. For more information on login with Azure CLI, see https:// | ||
| + | |||
| + | Retrieving tenants and subscriptions for the selection... | ||
| + | |||
| + | [Tenant and subscription selection] | ||
| + | |||
| + | No | ||
| + | ----- --------------------- | ||
| + | [1] * Azure subscription 1 | ||
| + | [2] Code Signing Embrient | ||
| + | |||
| + | The default is marked with an *; the default tenant is ' | ||
| + | |||
| + | Select a subscription and tenant (Type a number or Enter for no changes):</ | ||
| + | |||
| + | |||
| + | Next set up for code signing via the command | ||
| + | |||
| + | < | ||
| + | az ad sp create --id cf2ab426-f71a-4b61-bb8a-9e505b85bc2e | ||
| + | </ | ||
| + | < | ||
| + | az ad app permission grant --id cf2ab426-f71a-4b61-bb8a-9e505b85bc2e --api 00000003-0000-0000-c000-000000000000 --scope User.Read | ||
| + | </ | ||
| + | |||
| + | < | ||
compile_powershell.1734986101.txt.gz · Last modified: 2024/12/23 20:35 by kenson
