Accesstoken IBM data server driver configuration keyword

The accesstoken keyword is used to specify the access token to be used for authentication with file DSN or DSN-less connectivity.

Note: This feature is available starting from Db2® version 11.5.4.
Equivalent CLI keyword
accesstoken
Equivalent IBM® Data Server Provider for .NET connection string keyword
accesstoken
db2dsdriver.cfg configuration syntax
None
Default setting:
None
Usage notes:

The accesstoken keyword can only be specified on the connection string. This keyword can only be used for connection to Db2.

The accesstoken keyword identifies the token used for authentication at the server. Specifying an access token is only valid if the negotiated authentication type for the connection is TOKEN or GSSAPI. If the negotiated authentication type is TOKEN, then accesstokentype must also be specified. The maximum length of an access token is 8000 characters.