Skip to content

PrivateKeyJwtConfig

Structure Class

PrivateKeyJwtConfig dataclass

Bases: _SerdeShape

The private key configuration for private_key_jwt client authentication.

Attributes

additional_header_claims class-attribute instance-attribute
additional_header_claims: dict[str, str] | None = ...

A map of additional claims to include in the JWT client assertion header. Standard header claims such as alg and typ cannot be added.

additional_payload_claims class-attribute instance-attribute
additional_payload_claims: dict[str, str] | None = ...

A map of additional claims to include in the JWT client assertion payload. Payload claims generated by the service, such as iss, sub, jti, and exp, cannot be added.

private_key_source class-attribute instance-attribute
private_key_source: PrivateKeySource | None = ...

The private key source for the JWT client assertion.

signing_algorithm class-attribute instance-attribute
signing_algorithm: str | None = ...

The algorithm used to sign the JWT client assertion. Valid values are RS256, PS256, and ES256.