Skip to content

JWT

AKHQ uses signed JWT tokens to perform authentication.

Please generate a secret that is at least 256 bits.

You can use one of the following methods to provide the generated secret to AKHQ.

Provide the generated secret via the AKHQ application.yml via the following directive:

micronaut:
security:
enabled: true
token:
jwt:
signatures:
secret:
generator:
secret: <your secret here>

Provide the generated secret via Micronaut Property Value Binding using the following environment variable for the execution environment of AKHQ:

Terminal window
MICRONAUT_SECURITY_TOKEN_JWT_SIGNATURES_SECRET_GENERATOR_SECRET="<your secret here>"