CmdID / aws / aws directconnect
aws directconnect associate-mac-sec-key
Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with a Direct Connect connection. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--cakThe MAC Security (MACsec) CAK to associate with the connection.--cknThe MAC Security (MACsec) CKN to associate with the connection.--connection-idThe ID of the dedicated connection (dxcon-xxxx), interconnect (dxcon-xxxx), or LAG (dxlag-xxxx).--secret-arnThe Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the connection.