Client cert

New-MOKSClientCert

Synopsis

Create a client certificate.

Syntax

New-MOKSClientCert -CertificateName <String> -CommonName <String> -ContractID <String> -GroupID <Int32> [-Geography <String>] -SecureNetwork <String> -Signer <String> -NotificationEmails <String> [-PreferredCA <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-MOKSClientCert -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Creates a client certificate with the provided name.

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 string. This parameter supports pipelining.

‑CertificateName
Conditionally required

Your client certificate's name.

‑CommonName
Conditionally required

The common name of the client certificate.

‑ContractID
Conditionally required

The contract assigned to the client certificate.

‑EdgeRCFile

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

‑Geography

The type of network to deploy the client certificate. Either CORE, RUSSIA, or CHINA. Use CORE to deploy across most of the world except for licensed areas. Use RUSSIA to include Russia, or CHINA to include China. Based on Chinese and Russian government approval, enable non-core deployments on your contract.

‑GroupID
Conditionally required

The group ID assigned to the client certificate.

‑NotificationEmails
Conditionally required

The email addresses to notify about client certificate-related issues.

‑PreferredCA

The common name of the account CA certificate selected to sign the client certificate. Omit if you want to add this later.

‑Section

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

‑SecureNetwork
Conditionally required

The network deployment type. Either STANDARD or ENHANCEDTLS. A value of ENHANCED means Akamai's more secure network with PCI compliance capability, while STANDARDTLS means Akamai's standard secure network.

‑Signer
Conditionally required

The signing entity of the client certificate. Either AKAMAI or THIRD. A value of AKAMAI means Akamai is the signer, while THIRDPARTY means the third-party issuer is the signer.

Related Links