Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with a Direct Connect connection¶
Description¶
Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with a Direct Connect connection.
You must supply either the secretARN, or the CKN/CAK (ckn and cak) pair in the request.
For information about MAC Security (MACsec) key considerations, see MACsec pre-shared CKN/CAK key considerations in the Direct Connect User Guide.
Usage¶
Arguments¶
-
connectionId[required] The ID of the dedicated connection (dxcon-xxxx), interconnect (dxcon-xxxx), or LAG (dxlag-xxxx).
You can use
describe_connections,describe_interconnects, ordescribe_lagsto retrieve connection ID. -
secretARNThe Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the connection.
You can use
describe_connectionsordescribe_lagsto retrieve the MAC Security (MACsec) secret key.If you use this request parameter, you do not use the
cknandcakrequest parameters. -
cknThe 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
cakrequest parameter and not use thesecretARNrequest parameter. -
cakThe 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
cknrequest parameter and not use thesecretARNrequest parameter.
Value¶
A list with the following syntax:
list(
connectionId = "string",
macSecKeys = list(
list(
secretARN = "string",
ckn = "string",
state = "string",
startOn = "string"
)
)
)