Skip to content

Disassociate Mac Sec Key

directconnect_disassociate_mac_sec_key R Documentation

Removes the association between a MAC Security (MACsec) security key and an Direct Connect dedicated connection

Description

Removes the association between a MAC Security (MACsec) security key and an Direct Connect dedicated connection.

Usage

directconnect_disassociate_mac_sec_key(connectionId, secretARN)

Arguments

connectionId

[required] The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).

You can use describe_connections or describe_lags to retrieve connection ID.

secretARN

[required] The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.

You can use describe_connections to retrieve the ARN of the MAC Security (MACsec) secret key.

Value

A list with the following syntax:

list(
  connectionId = "string",
  macSecKeys = list(
    list(
      secretARN = "string",
      ckn = "string",
      state = "string",
      startOn = "string"
    )
  )
)

Request syntax

svc$disassociate_mac_sec_key(
  connectionId = "string",
  secretARN = "string"
)