Client cert version

Complete-MOKSClientCertVersion

Synopsis

Upload a signed client certificate.

Syntax

Complete-MOKSClientCertVersion [-CertificateName <String>] -Version <String> [-AcknowledgeAllWarnings] -CertificateFile <String> [-TrustChainFile <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Complete-MOKSClientCertVersion [-CertificateName <String>] -Version <String> [-AcknowledgeAllWarnings] -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Complete-MOKSClientCertVersion [-CertificateID <Int32>] -Version <String> [-AcknowledgeAllWarnings] -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Complete-MOKSClientCertVersion [-CertificateID <Int32>] -Version <String> [-AcknowledgeAllWarnings] -CertificateFile <String> [-TrustChainFile <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Uploads a signed THIRD_PARTY client certificate with the AWAITING_SIGNED_CERTIFICATE status. See Client certificates to learn more.

Parameters

-AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

Type: String
Parameter Sets: (All)
Aliases:

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

-AcknowledgeAllWarnings

When present, the function uploads the signed certificate ignoring all warnings. When not included in the call, the upload process is stopped and displays any warnings for you to review before proceeding.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Body

A request body, either as a PSCustomObject or string. This parameter supports pipelining.

Type: Object
Parameter Sets: name-body, id-body
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-CertificateFile

The file to read the client certificate data from. It needs to be in PEM format.

Type: String
Parameter Sets: name-file, id-file
Aliases:

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

-CertificateID

Your client certificate's ID.

Type: Int32
Parameter Sets: id-body, id-file
Aliases:

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

-CertificateName

Your client certificate's name.

Type: String
Parameter Sets: name-file, name-body
Aliases:

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

-EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

Type: String
Parameter Sets: (All)
Aliases:

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

-Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

Type: String
Parameter Sets: (All)
Aliases:

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

-TrustChainFile

The file to read the trust chain data from. It needs to be in PEM format.

Type: String
Parameter Sets: name-file, id-file
Aliases:

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

-Version

Your client certificate's version, either as an integer or the word latest.

Type: String
Parameter Sets: (All)
Aliases:

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

Related Links

User Guide: Overview
API Reference