Editar

Compartilhar via


Get-AzFirmwareAnalysisCryptoCertificate

Lists cryptographic certificate analysis results found in a firmware.

Syntax

Get-AzFirmwareAnalysisCryptoCertificate
   -FirmwareId <String>
   -ResourceGroupName <String>
   -WorkspaceName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Lists cryptographic certificate analysis results found in a firmware.

Examples

Example 1: List all the crypto certificate analysis results for a firmware.

Get-AzFirmwareAnalysisCryptoCertificate -FirmwareId FirmwareId -ResourceGroupName ResourceGroupName -WorkspaceName WorkspaceName | ConvertTo-Json

[
 {
    "CryptoCertId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "Encoding": "",
    "ExpirationDate": "",
    "FilePath": [""],
    "Fingerprint": "",
    "Id": "",
    "IsExpired": boolean,
    "IsSelfSigned": boolean,
    "IsShortKeySize": boolean,
    "IsWeakSignature": "",
    "IssuedDate": "",
    "IssuerCommonName": "",
    "IssuerCountry": "",
    "IssuerOrganization": "",
    "IssuerOrganizationalUnit": "",
    "IssuerState": "",
    "KeyAlgorithm": "",
    "KeySize": ,
    "Name": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "PairedKeyId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "PairedKeyType": "",
    "PropertiesName": "",
    "Role": "",
    "SerialNumber": "",
    "SignatureAlgorithm": "",
    "SubjectCommonName": "",
    "SubjectCountry": "",
    "SubjectOrganization": "",
    "SubjectOrganizationalUnit": "",
    "SubjectState": "",
    "SystemDataCreatedAt": ,
    "SystemDataCreatedBy": ,
    "SystemDataCreatedByType": ,
    "SystemDataLastModifiedAt": ,
    "SystemDataLastModifiedBy": ,
    "SystemDataLastModifiedByType": ,
    "Type": "Microsoft.IoTFirmwareDefense/workspaces/firmwares/cryptoCertificates",
    "Usage": []
  }
]

List all the crypto certificate analysis results for a firmware.

Parameters

-DefaultProfile

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

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FirmwareId

The id of the firmware.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

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

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

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

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WorkspaceName

The name of the firmware analysis workspace.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

ICryptoCertificateResource