symphony.bdk.core.auth.jwt_helper.create_signed_jwt(private_key_config: symphony.bdk.core.config.model.bdk_rsa_key_config.BdkRsaKeyConfig, username: str, expiration: Optional[int] = None) str#

Creates a JWT with the provided user name and expiration date, signed with the provided private key.

  • private_key_config – The private key configuration for a service account or an extension app.

  • username – The username of the user to authenticate.

  • expiration – Expiration of the authentication request in seconds. By default the signed jwt will be valid in maximum 290 seconds (4min 50s) which is the maximum expiration accepted by the Symphony backend.


a signed JWT for a specific user or an extension app.