CA set version

New-METSCASetVersion

Synopsis

Create a version.

Syntax

New-METSCASetVersion -CASetName <String> -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-METSCASetVersion -CASetName <String> -CertificatesDirectory <String> [-Comments <String>] [-AllowInsecureSha1] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-METSCASetVersion -CASetName <String> -CertificatesFile <String> [-Comments <String>] [-AllowInsecureSha1] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-METSCASetVersion -CASetID <Int32> -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-METSCASetVersion -CASetID <Int32> -CertificatesDirectory <String> [-Comments <String>] [-AllowInsecureSha1] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-METSCASetVersion -CASetID <Int32> -CertificatesFile <String> [-Comments <String>] [-AllowInsecureSha1] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Creates a new CA set version in the CA set specified by either -CASetName or -CASetID. You can provide the certificates for your new version either as a PSCustomObject, or a single file containing 1 or more base-64-encoded certificates, or point to a directory containing 1 or more certificate files. You can also add -Comments and allow SHA1 signatures with -AllowInsecureSha1.

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.

‑AllowInsecureSha1

By default, the version's certificates need a signature algorithm of SHA-256 or better. Enabling this allows certificates with SHA-1 signatures.

‑Body
Conditionally required

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

‑CASetID
Conditionally required

Your CA set's ID. You typically require this or the -CASetName.

‑CASetName
Conditionally required

A human-readable name of the CA set. You typically require this or the -CASetID.

‑CertificatesDirectory
Conditionally required

A folder to read individual certificates from. Files should contain base64-encoded certificates.

‑CertificatesFile
Conditionally required

A file containing one or more base64-encoded certificates.

‑Comments

Any additional comments you can provide while creating or updating the CA set version.

‑EdgeRCFile

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

‑Section

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

Related Links