Configuration

New-AppSecConfiguration

Synopsis

Create a configuration.

Syntax

New-AppSecConfiguration [-Name] <String> [-Description] <String> [-GroupID] <String> [-ContractId] <String> [-Hostnames] <String> [[-CloneConfigID] <Int32>] [[-CloneConfigVersion] <Int32>] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Creates a new security configuration.

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.

‑CloneConfigID

The ID of a security configuration to clone.

‑CloneConfigVersion

The configuration version to clone from.

‑ContractId
Required

Your contract's ID.

‑Description
Required

Describes the security configuration.

‑EdgeRCFile

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

‑GroupID
Required

Your group's ID.

‑Hostnames
Required

List of hostnames to be added to the configuration.

‑Name
Required

The name you assigned to the security configuration.

‑Section

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

Related Links