Remove the association between a MACsec secret key and an Amazon Direct Connect connection
You can remove the association between the connection and the MACsec key using either the Amazon Direct Connect console or through the command-line or API.
To remove an association between a connection and a MACsec key
Open the Amazon Direct Connect console at https://console.amazonaws.cn/directconnect/v2/home
. -
In the left pane, choose Connections.
-
Select a connection, and then 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 connection and a MACsec key using the command line or API
-
disassociate-mac-sec-key (Amazon CLI)
-
DisassociateMacSecKey (Amazon Direct Connect API)