Session token expiration date
Hello,
I have a problem with coder session token (the one generated here: https://<MY_CODER_SERVER>/cli-auth).
I can't find how to limit this token life duration, is it like api token (100y default) ? I don't think so because I can't see it while running "coder token ls".
I have connected keycloak as OICD provider of the coder serever, and I set OICD token life duration directly on Keycloak but it doesn't seem to be a oicd token neither.
Is someone can help me to limite this token life duration ?
Thanks 🙏
4 Replies
<#1234902140091109416>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Solution
CLI API keys last for 7 days
GitHub
coder/coderd/apikey.go at dfd27f559ec2ec15e5b49a43aaf0e7792e430984 ...
Provision remote development environments via Terraform - coder/coder
Great, so it isn't configurable, Thanks !