CA set version
Set-METSCASetVersion
Synopsis
Update a version.
Syntax
Set-METSCASetVersion -CASetName <String> -VersionID <Int32> -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-METSCASetVersion -CASetName <String> -VersionID <Int32> -CertificatesDirectory <String> [-Comments <String>] [-AllowInsecureSha1] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-METSCASetVersion -CASetName <String> -VersionID <Int32> -CertificatesFile <String> [-Comments <String>] [-AllowInsecureSha1] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-METSCASetVersion -CASetID <Int32> -VersionID <Int32> -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-METSCASetVersion -CASetID <Int32> -VersionID <Int32> -CertificatesDirectory <String> [-Comments <String>] [-AllowInsecureSha1] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-METSCASetVersion -CASetID <Int32> -VersionID <Int32> -CertificatesFile <String> [-Comments <String>] [-AllowInsecureSha1] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Updates the settings for a specified version of your CA set. You can specify a CA set by its name or ID. You need to provide the -VersionID
to update, but if you pipe the results of Get-METSCASetVersion
this parameter will be read from the pipeline.
You can provide certificates 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 |
‑Body Conditionally required |
A request body, either as a |
‑CASetID Conditionally required |
Your CA set's ID. You typically require this or the |
‑CASetName Conditionally required |
A human-readable name of the CA set. You typically require this or the |
‑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 |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑VersionID Required |
The CA set version's ID on which to perform the desired operation. |
Related Links
Updated 18 days ago