Edit

Get-AzArtifactSigningCustomerEku

Retrieve Azure.CodeSigning customer Eku

Syntax

ByAccountProfileNameParameterSet (Default)

Get-AzArtifactSigningCustomerEku
    [-AccountName] <String>
    [-ProfileName] <String>
    [-EndpointUrl] <String>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

ByMetadataFileParameterSet

Get-AzArtifactSigningCustomerEku
    [-MetadataFilePath] <String>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

Description

The **Get-AzArtifactSigningCustomerEku ** 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-AzArtifactSigningCustomerEku -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-AzArtifactSigningCustomerEku -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

The account name of Azure CodeSigning.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByAccountProfileNameParameterSet
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-EndpointUrl

The endpoint url used to submit request to Azure CodeSigning.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByAccountProfileNameParameterSet
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-MetadataFilePath

Metadata File path. Cmdlet constructs the FQDN of an account profile based on the Metadata File and currently selected environment.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByMetadataFileParameterSet
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-ProfileName

The certificate profile name of Azure CodeSigning account.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByAccountProfileNameParameterSet
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

Outputs

String