JWTAlgorithm Parameter (Connect-ApacheCouchDB Cmdlet)
The encryption algorithm used for signing the JWT token.
Syntax
Connect-ApacheCouchDB -JWTAlgorithm string
Possible Values
RS256, RS384, RS512, ES256, ES384, ES512, HS256, HS384, HS512Data Type
cstr
Default Value
"RS256"
Remarks
This is used as the alg claim in the JWT token. This property can take one of the following values:
RS256, RS384, RS512 | RSA signature with SHA hashing (SHA-256, SHA-384, SHA-512) |
ES256, ES384, ES512 | ECDSA signature with NIST curves (P-256, P-384, P-512) and SHA hashing (SHA-256, SHA-384, SHA-512) |
HS256, HS384, HS512 | HMAC signature with SHA hashing (SHA-256, SHA-384, SHA-512) |