Get-AzCodeSigningCustomerEku
Retrieve Azure.CodeSigning customer Eku
Syntax
Get-AzCodeSigningCustomerEku
[-AccountName] <String>
[-ProfileName] <String>
-EndpointUrl <String>
-MetadataFilePath <String>
Description
The **Get-AzCodeSigningCustomerEku ** cmdlet retrieves customer Eku. Use this cmdlet to retrieve customer Eku. There are two sets of parameters. One set uses AccountName, ProfileName, and EndpointUrl. Another set uses MetadataFilePath.
Examples
Example 1: Retrieve customer Eku by account and profile name
Get-AzCodeSigningCustomerEku -AccountName 'contoso' -ProfileName 'contososigning' -EndpointUrl 'https://wus.codesigning.azure.net'
1.3.6.1.5.5.7.3.0
This command retrieves the customer eku by account and profile name.
Example 2: Retrieve customer Eku by metadata file path
Get-AzCodeSigningCustomerEku -MetadataFilePath 'c:\cisigning\metadata_input.json'
1.3.6.1.5.5.7.3.0
This command retrieves the customer eku by the metadata file configuration.
Parameters
-AccountName
Specifies Azure CodeSigning AccountName used to sign CI policy.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-EndpointUrl
Specifies Azure CodeSigning Endpoint used to sign CI policy. It's an Url, format is https://xxx.codesigning.azure.net
Type: | String |
Position: | 3 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MetadataFilePath
Specifies Azure CodeSigning Metadata file path used to sign CI policy. It's a file path, and the metadata content is below. File content example: { "Endpoint": "https://xxx.codesigning.azure.net/", "CodeSigningAccountName": "acstest", "CertificateProfileName": "acstestCert1" }
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ProfileName
Specifies Azure CodeSigning ProfileName used to sign CI policy.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Azure CodeSigning AccountName
Azure CodeSigning Profile Name
Azure CodeSigning Signing EndpointUrl
Azure CodeSigning UnSigned CI Policy File Path
Azure CodeSigning Signed CI Policy File Path Destination
Outputs
Signed CI Policy file
Related Links
Azure PowerShell