CData Python Connector for Apache CouchDB

Build 25.0.9440

JWTKeyType

The type of the encryption key used for signing the JWT.

Possible Values

PEMKEY_FILE, PEMKEY_BLOB, SYMMETRIC

データ型

string

デフォルト値

"PEMKEY_FILE"

解説

This property can take one of the following values:

PEMKEY_FILEAn absolute path to a PEM-encoded file that contains the private key.
PEMKEY_BLOBThe private key (base64-encoded).
SYMMETRICThe symmetric key (base64-encoded). Use this in cases when you are signing the JWT with a symmetric algorithm (e.g. HS256, HS384, HS512, etc.).
The key itself can be any length. If needed, the 本製品 pads or hashes the key to match the requirements of the chosen JWTAlgorithm. For best security, the key should be at least as long as the hash output (for example, 32 bytes for SHA-256).

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440