TSIG key

Set-EdnsTSIGKey

Synopsis

Update TSIG key for multiple zones.

Syntax

Set-EdnsTSIGKey -TSIGKeyAlgorithm <String> -TSIGKeyName <String> -TSIGKeySecret <String> [-TSIGKeyZoneCount <Int32>] -Zones <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-EdnsTSIGKey [-Body <Object>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Updates the key data for multiple zones at once. Keep in mind that this operation can only add zones to a TSIG key, not remove them. To safely remove the association between a zone and a TSIG key, update the zone to its new TSIG key or remove the key from the zone if you're sure it's no longer needed.

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

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

‑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.

‑TSIGKeyAlgorithm
Conditionally required

The algorithm used to encode the TSIG key's secret data.

‑TSIGKeyName
Conditionally required

The name of your TSIG key. This is a name that's unique across all of Akamai's customers. Since the key name is treated like a DNS name, the value is lowercase and the server removes any trailing dots.

‑TSIGKeySecret
Conditionally required

A Base64-encoded string of data. When decoded, it needs to contain the correct number of bits for the chosen algorithm. If the input is not correctly padded, the server applies the padding.

‑TSIGKeyZoneCount

The number of zones that reference a given key.

‑Zones
Conditionally required

A list of zone names.

Related Links