Apikey IBM data server driver configuration keyword

The apikey specifies the API key to be used for authentication for file DSN or DSN-less connectivity.

Note: This feature is available starting from Db2® version 11.5.4.
Equivalent CLI keyword
apikey
Equivalent IBM® Data Server Provider for .NET connection string keyword
accesstokentype
db2dsdriver.cfg configuration syntax
apikey
Default setting:
None
Usage notes:
The apikey keyword can only be specified on the connection string. This keyword can only be used for connection to Db2.
The apikey keyword identifies the API Key used for authentication at the server. Specifying an API Key is only valid if the negotiated authentication type for the connection is GSSAPI. The maximum length of an API Key is 8000 characters.