Meh Belly Lint Collection

That awful moment when you realize,
THIS is YOUR circus and THOSE are YOUR monkeys.

User Tools

Site Tools


compile_powershell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
compile_powershell [2024/12/23 20:43] kensoncompile_powershell [2025/10/25 23:11] (current) kenson
Line 44: Line 44:
 {{:certificateprofile.png?600|}} {{:certificateprofile.png?600|}}
  
 +To set up azure CLI environment for signing, from powershell run:
 +<code>
 +az login
 +</code>
  
 +e.g.
 +
 +<code>
 +PS C:\WINDOWS\system32> az login
 +Select the account you want to log in with. For more information on login with Azure CLI, see https://go.microsoft.com/fwlink/?linkid=2271136
 +
 +Retrieving tenants and subscriptions for the selection...
 +
 +[Tenant and subscription selection]
 +
 +No     Subscription name      Subscription ID                       Tenant
 +-----  ---------------------  ------------------------------------  -----------------
 +[1] *  Azure subscription 1   xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx  Default Directory
 +[2]    Code Signing Embrient  xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx  Default Directory
 +
 +The default is marked with an *; the default tenant is 'Default Directory' and subscription is 'Azure subscription 1' (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
 +
 +Select a subscription and tenant (Type a number or Enter for no changes):</code>
 +
 +
 +Next set up for code signing via the command
 +
 +<code>
 +az ad sp create --id cf2ab426-f71a-4b61-bb8a-9e505b85bc2e
 +</code>
 +<code>
 +az ad app permission grant --id cf2ab426-f71a-4b61-bb8a-9e505b85bc2e --api 00000003-0000-0000-c000-000000000000 --scope User.Read
 +</code>
 +
 +<kbd>Q</kbd>
  
compile_powershell.1734986617.txt.gz · Last modified: 2024/12/23 20:43 by kenson

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki