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.
Type: String
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: body
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-CertificateName
Your client certificate's name.
Type: String
Parameter Sets: attributes
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CommonName
The common name of the client certificate.
Type: String
Parameter Sets: attributes
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ContractID
The contract assigned to the client certificate.
Type: String
Parameter Sets: attributes
Aliases:
Required: True
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
-Geography
The type of network to deploy the client certificate. Either CORE
, RUSSIA_AND_CORE
, or CHINA_AND_CORE
. Use CORE
to deploy across most of the world except for licensed areas. Use RUSSIA_AND_CORE
to include Russia, or CHINA_AND_CORE
to include China. Based on Chinese and Russian government approval, enable non-core deployments on your contract.
Type: String
Parameter Sets: attributes
Aliases:
Accepted values: CORE, RUSSIAN_AND_CORE, CHINA_AND_CORE
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-GroupID
The group ID assigned to the client certificate.
Type: Int32
Parameter Sets: attributes
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-NotificationEmails
The email addresses to notify about client certificate-related issues.
Type: String
Parameter Sets: attributes
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-PreferredCA
The common name of the account CA certificate selected to sign the client certificate. Omit if you want to add this later.
Type: String
Parameter Sets: attributes
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
-SecureNetwork
The network deployment type. Either STANDARD_TLS
or ENHANCED_TLS
. A value of ENHANCED_TLS
means Akamai's more secure network with PCI compliance capability, while STANDARD_TLS
means Akamai's standard secure network.
Type: String
Parameter Sets: attributes
Aliases:
Accepted values: STANDARD_TLS, ENHANCED_TLS
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Signer
The signing entity of the client certificate. Either AKAMAI
or THIRD_PARTY
. A value of AKAMAI
means Akamai is the signer, while THIRD_PARTY
means the third-party issuer is the signer.
Type: String
Parameter Sets: attributes
Aliases:
Accepted values: AKAMAI, THIRD_PARTY
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Related Links
Updated 1 day ago