Remove the association between a MACsec secret key and an AWS Direct Connect endpoint LAG
You can remove the association between the LAG and the MACsec key using either the AWS Direct Connect console or using the command line or API.
To remove an association between a LAG and a MACsec key
Open the AWS Direct Connect console at https://console.aws.amazon.com/directconnect/v2/home
. -
In the navigation pane, choose LAGs.
-
Select the LAG and choose View details.
-
Select the MACsec secret to remove, and then choose Disassociate key.
-
In the confirmation dialog box, enter disassociate, and then choose Disassociate.
To remove an association between a LAG and a MACsec key using the command line or API
-
disassociate-mac-sec-key (AWS CLI)
-
DisassociateMacSecKey (AWS Direct Connect API)