Skip to content

/AWS1/CL_IOU=>ROTATETUNNELACCESSTOKEN()

About RotateTunnelAccessToken

Revokes the current client access token (CAT) and returns new CAT for clients to use when reconnecting to secure tunneling to access the same tunnel.

Requires permission to access the RotateTunnelAccessToken action.

Rotating the CAT doesn't extend the tunnel duration. For example, say the tunnel duration is 12 hours and the tunnel has already been open for 4 hours. When you rotate the access tokens, the new tokens that are generated can only be used for the remaining 8 hours.

Method Signature

IMPORTING

Required arguments:

IV_TUNNELID TYPE /AWS1/IOUTUNNELID /AWS1/IOUTUNNELID

The tunnel for which you want to rotate the access tokens.

IV_CLIENTMODE TYPE /AWS1/IOUCLIENTMODE /AWS1/IOUCLIENTMODE

The mode of the client that will use the client token, which can be either the source or destination, or both source and destination.

Optional arguments:

IO_DESTINATIONCONFIG TYPE REF TO /AWS1/CL_IOUDESTINATIONCONFIG /AWS1/CL_IOUDESTINATIONCONFIG

destinationConfig

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOUROTTUNNELACCTOKRSP /AWS1/CL_IOUROTTUNNELACCTOKRSP