3-party certificate

Add-CPSThirdPartyCert

Synopsis

Add a third-party certificate.

Syntax

Add-CPSThirdPartyCert -EnrollmentID <Int32> -ChangeID <Int32> -Certificate <String> [-TrustChain <String>] -KeyAlgorithm <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Add-CPSThirdPartyCert -EnrollmentID <Int32> -ChangeID <Int32> -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Uploads a third-party certificate and trust chain to an existing change. You can find the change ID by running the Get-CPSEnrollment operation.

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.

‑Body
Conditionally required

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

‑Certificate
Conditionally required

A Base64-encoded certificate body.

‑ChangeID
Required

The change ID for an enrollment on which to perform the desired operation.

‑EdgeRCFile

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

‑EnrollmentID
Required

Enrollment on which to perform the desired operation.

‑KeyAlgorithm
Conditionally required

An encryption key algorithm, either RSA or ECDSA.

‑Section

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

‑TrustChain

A Base64-encoded certificate trust chain.

Related Links