AssociateMacSecKeyRequest
¶
Source code in docs_src/capo_direct_connect/types/associate_mac_sec_key_request.py
cak
instance-attribute
¶
cak: NotRequired[Cak]
The MAC Security (MACsec) CAK to associate with the connection.
You can create the CKN/CAK pair using an industry standard tool.
The valid values are 64 hexadecimal characters (0-9, A-E).
If you use this request parameter, you must use the ckn request parameter and not use the secretARN request parameter.
ckn
instance-attribute
¶
ckn: NotRequired[Ckn]
The MAC Security (MACsec) CKN to associate with the connection.
You can create the CKN/CAK pair using an industry standard tool.
The valid values are 64 hexadecimal characters (0-9, A-E).
If you use this request parameter, you must use the cak request parameter and not use the secretARN request parameter.
connection_id
instance-attribute
¶
connection_id: ConnectionId
The ID of the dedicated connection (dxcon-xxxx), interconnect (dxcon-xxxx), or LAG (dxlag-xxxx).
You can use DescribeConnections, DescribeInterconnects, or DescribeLags to retrieve connection ID.
secret_arn
instance-attribute
¶
secret_arn: NotRequired[SecretARN]
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the connection.
You can use DescribeConnections or DescribeLags to retrieve the MAC Security (MACsec) secret key.
If you use this request parameter, you do not use the ckn and cak request parameters.