coder/coderd/apikey
Asher 16c6cefde8
chore: pass lifetime directly into api key generate (#11715)
Rather than passing all the deployment values.  This is to make it
easier to generate API keys as part of the oauth flow.

I also added and fixed a test for when the lifetime is set and the
default and expiration are unset.

Co-authored-by: Steven Masley <stevenmasley@gmail.com>
2024-01-22 11:42:55 -09:00
..
apikey.go chore: pass lifetime directly into api key generate (#11715) 2024-01-22 11:42:55 -09:00
apikey_test.go chore: pass lifetime directly into api key generate (#11715) 2024-01-22 11:42:55 -09:00