mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-28 16:37:24 +02:00
1.2 KiB
1.2 KiB
In the event that you lose access to the console via delegated access (the policy defined in Pomerium), there exists a fallback procedure to regain access to the console via a generated recovery token.
To generate a token, run the pomerium-console generate-recovery token
command with the following flags:
Flag | Description |
---|---|
--database-encryption-key |
base64-encoded encryption key for encrypting sensitive data in the database. |
--database-url |
The database to connect to (default "postgresql://pomerium:pomerium@localhost:5432/dashboard?sslmode=disable "). |
--namespace |
The namespace to use (default "9d8dbd2c-8cce-4e66-9c1f-c490b4a07243 " for Global). |
--out |
Where to save the JWT. If not specified, it will be printed to stdout. |
--ttl |
The amount of time before the recovery token expires. Requires a unit (example: 30s , 5m ). |
::: tip
You can run the pomerium-console
binary from any device with access to the database.
:::