Remove the association between a MACsec secret key and a LAG - Amazon Direct Connect
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Remove the association between a MACsec secret key and a LAG

You can remove the association between the LAG and the MACsec key.

Console
To remove an association between a LAG and a MACsec key
  1. Open the Amazon Direct Connect console at https://console.aws.amazon.com/directconnect/v2/home.

  2. In the navigation pane, choose LAGs.

  3. Select the LAG and choose View details.

  4. Select the MACsec secret to remove, and then choose Disassociate key.

  5. In the confirmation dialog box, enter disassociate, and then choose Disassociate.

Command line
To remove an association between a LAG and a MACsec key