Edit

Get-AzArtifactSigningCertificateProfile

Get details of a certificate profile.

Syntax

List (Default)

Get-AzArtifactSigningCertificateProfile
    -AccountName <String>
    -ResourceGroupName <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Get

Get-AzArtifactSigningCertificateProfile
    -AccountName <String>
    -ProfileName <String>
    -ResourceGroupName <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentityCodeSigningAccount

Get-AzArtifactSigningCertificateProfile
    -ProfileName <String>
    -CodeSigningAccountInputObject <IArtifactSigningIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentity

Get-AzArtifactSigningCertificateProfile
    -InputObject <IArtifactSigningIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Get details of a certificate profile.

Examples

Example 1: Get Artifact signing Certificate Profile

Get-AzArtifactSigningCertificateProfile -AccountName test -ResourceGroupName rg-test -ProfileName test
City    CommonName              Country EnhancedKeyUsage                                               Id                                                                                                                                                                 IdentityValidationId                 IncludeCity IncludeCountry IncludePostalCode IncludeState IncludeStreetAddress Name    Organization OrganizationUnit PostalCode ProfileType     ProvisioningState ResourceGroupName RetryAfter State      Status StreetAddress SystemDataCreatedAt   SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy             SystemDataLastModifiedByType Type                                                          Certificate
----    ----------              ------- ----------------                                               --                                                                                                                                                                 --------------------                 ----------- -------------- ----------------- ------------ -------------------- ----    ------------ ---------------- ---------- -----------     ----------------- ----------------- ---------- -----      ------ ------------- -------------------   ------------------- ----------------------- ------------------------ ------------------------             ---------------------------- ----                                                          -----------
Barstow Contoso News(TEST ONLY) US      1.3.6.1.4.1.311.97.1.2.100309390.866961637.294916062.541502583 /subscriptions/66dc869d-771b-4f60-84c1-4964b5f4f5f2/resourceGroups/rg-test/providers/Microsoft.CodeSigning/codeSigningAccounts/test/certificateProfiles/test       18f2c413-51a1-4990-a0b6-83e19b7c5991                                                                                janielm Contoso News                  92312      PublicTrustTest Succeeded         rg-test                      California Active 5th street    1/24/2025 10:01:04 PM test@example.com    User                    2/3/2025 9:18:57 PM      81af9eaf-3a7b-43eb-bc59-c504bfe12240 Application                  microsoft.codesigning/codesigningaccounts/certificateprofiles {{ "serialNumber": "55000A50AE054B71AB92557ACF0000000A50AE","subjectName": "CN=Contoso News(TEST ONLY), O=Contoso News, L=Barstow, S=California, C=US","thumbprint": "9D808D63D1C8B79A152C92C455303D2DC861A910","createdDate": "1/24/2025 9:51:14 PM","expiryDate": "1/31/2025 9:51:14 PM","status": "Active"}}

This command gets a artifact signing certificate profile

Example 2: List Artifact signing Certificate Profiles

Get-AzArtifactSigningCertificateProfile -AccountName test -ResourceGroupName rg-test
City    CommonName              Country EnhancedKeyUsage                                               Id                                                                                                                                                                 IdentityValidationId                 IncludeCity IncludeCountry IncludePostalCode IncludeState IncludeStreetAddress Name    Organization OrganizationUnit PostalCode ProfileType     ProvisioningState ResourceGroupName RetryAfter State      Status StreetAddress SystemDataCreatedAt   SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy             SystemDataLastModifiedByType Type                                                          Certificate
----    ----------              ------- ----------------                                               --                                                                                                                                                                 --------------------                 ----------- -------------- ----------------- ------------ -------------------- ----    ------------ ---------------- ---------- -----------     ----------------- ----------------- ---------- -----      ------ ------------- -------------------   ------------------- ----------------------- ------------------------ ------------------------             ---------------------------- ----                                                          -----------
Barstow Contoso News(TEST ONLY) US      1.3.6.1.4.1.311.97.1.2.100309390.866961637.294916062.541502583 /subscriptions/66dc869d-771b-4f60-84c1-4964b5f4f5f2/resourceGroups/rg-test/providers/Microsoft.CodeSigning/codeSigningAccounts/test/certificateProfiles/test       18f2c413-51a1-4990-a0b6-83e19b7c5991                                                                                janielm Contoso News                  92312      PublicTrustTest Succeeded         rg-test                      California Active 5th street    1/24/2025 10:01:04 PM test@example.com    User                    2/3/2025 9:18:57 PM      81af9eaf-3a7b-43eb-bc59-c504bfe12240 Application                  microsoft.codesigning/codesigningaccounts/certificateprofiles {{ "serialNumber": "55000A50AE054B71AB92557ACF0000000A50AE","subjectName": "CN=Contoso News(TEST ONLY), O=Contoso News, L=Barstow, S=California, C=US","thumbprint": "9D808D63D1C8B79A152C92C455303D2DC861A910","createdDate": "1/24/2025 9:51:14 PM","expiryDate": "1/31/2025 9:51:14 PM","status": "Active"}}

This command lists artifact signing certificate profiles

Parameters

-AccountName

Artifact Signing account name.

Parameter properties

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

Parameter sets

List
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CodeSigningAccountInputObject

Identity Parameter

Parameter properties

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

Parameter sets

GetViaIdentityCodeSigningAccount
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases: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

-InputObject

Identity Parameter

Parameter properties

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

Parameter sets

GetViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-ProfileName

Certificate profile name.

Parameter properties

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

Parameter sets

Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
GetViaIdentityCodeSigningAccount
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceGroupName

The name of the resource group. The name is case insensitive.

Parameter properties

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

Parameter sets

List
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

The ID of the target subscription. The value must be an UUID.

Parameter properties

Type:

String[]

Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

List
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Get
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
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

IArtifactSigningIdentity

Outputs

ICertificateProfile