Client cert

Set-MOKSClientCert

Synopsis

Patch a client certificate.

Syntax

Set-MOKSClientCert -CertificateName <String> -NewName <String> -NotificationEmails <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-MOKSClientCert -CertificateName <String> -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-MOKSClientCert -CertificateID <Int32> -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-MOKSClientCert -CertificateID <Int32> -NewName <String> -NotificationEmails <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Updates the client certificate's name or notification emails.

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.

‑CertificateID
Conditionally required

Your client certificate's ID.

‑CertificateName
Conditionally required

Your client certificate's name.

‑EdgeRCFile

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

‑NewName
Conditionally required

A new name for the client certificate.

‑NotificationEmails
Conditionally required

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

‑Section

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

Related Links