J Guerreiro
94820e1f29
Add/Delete API keys to Service accounts ( #44871 )
...
* ServiceAccounts: move token handlers to specific file
* ServiceAccounts: move Add API key to Service account
* APIKeys: api keys can still be used even when service accounts are enabled
* APIKeys: legacy endpoint can't be used to add SA tokens
* ServiceAccount: add tests for creation with nil and non-nil service account ids
* ServiceAccounts: fix unnasigned cfg and AC typo
* Test: test service account token adding
* fix linting error
* ServiceAccounts: Handle Token deletion
* rename token funcs
* rename token funcs and api wrapping
* add token deletion tests
* review
Co-authored-by: eleijonmarck <eric.leijonmarck@gmail.com>
* remove bus
* Update pkg/api/apikey.go
Co-authored-by: eleijonmarck <eric.leijonmarck@gmail.com>
2022-02-07 14:51:54 +01:00
..
2022-01-28 10:28:33 +01:00
2021-11-08 17:56:56 +01:00
2022-01-31 12:39:55 -03:00
2022-01-28 10:28:33 +01:00
2022-01-06 22:28:05 +08:00
2021-11-19 11:02:13 +00:00
2022-02-04 17:35:00 +01:00
2021-03-19 10:32:13 -04:00
2022-02-02 18:48:46 +01:00
2021-10-11 14:30:59 +02:00
2021-09-23 17:43:32 +02:00
2021-11-03 11:31:56 +01:00
2021-12-02 18:08:59 +01:00
2022-02-04 17:53:58 +01:00
2022-02-07 14:36:15 +01:00
2022-02-04 13:45:42 -05:00
2022-02-04 17:53:58 +01:00
2022-02-04 13:41:15 +01:00
2022-02-04 13:41:15 +01:00
2022-02-03 09:20:20 +01:00
2022-01-15 00:55:57 +08:00
2022-02-07 14:51:54 +01:00
2022-02-07 14:51:54 +01:00
2022-02-04 17:35:00 +01:00
2021-09-01 11:18:30 +02:00
2021-09-01 11:18:30 +02:00
2022-02-04 13:45:42 -05:00
2022-02-07 12:43:43 +01:00
2022-02-07 12:43:43 +01:00
2022-02-03 09:20:20 +01:00
2021-12-28 17:36:22 +01:00
2022-02-07 12:43:43 +01:00
2022-02-07 12:43:43 +01:00
2021-03-17 13:10:40 -04:00
2022-02-03 09:20:20 +01:00
2022-02-01 15:00:05 +01:00
2021-11-17 12:04:22 +01:00
2022-02-03 09:20:20 +01:00
2021-11-29 10:18:01 +01:00
2021-11-29 10:18:01 +01:00
2022-02-07 12:43:43 +01:00
2022-02-03 23:20:02 +08:00
2022-01-06 22:28:05 +08:00
2021-12-02 09:34:39 +01:00
2022-01-31 16:06:16 +01:00
2022-02-04 17:55:50 +01:00
2021-11-12 11:07:12 +01:00
2022-02-04 14:33:35 +01:00
2022-02-04 14:33:35 +01:00
2020-08-14 14:43:25 +02:00
2022-02-04 13:41:15 +01:00
2022-02-04 18:14:53 +01:00
2022-02-01 12:03:21 +01:00
2022-02-01 12:03:21 +01:00
2021-12-13 15:56:14 +01:00
2022-02-07 14:36:15 +01:00
2021-12-28 16:08:07 +01:00
2022-01-07 15:11:23 -05:00
2021-12-14 18:38:20 +01:00
2022-01-31 17:24:52 +01:00
2021-11-17 10:12:28 +01:00
2022-02-03 09:20:20 +01:00
2022-01-15 00:55:57 +08:00
2022-01-26 09:44:20 -08:00
2022-02-03 10:33:46 +01:00
2022-01-27 10:33:02 +01:00
2022-01-27 10:33:02 +01:00
2021-12-07 19:15:53 +02:00
2022-02-04 18:14:53 +01:00
2021-11-17 10:12:28 +01:00
2022-02-03 09:20:20 +01:00
2021-11-17 10:12:28 +01:00
2022-02-03 09:20:20 +01:00
2022-01-27 02:02:19 +04:00
2022-02-03 17:49:39 +01:00
2022-02-03 18:46:38 +01:00
2021-11-29 10:18:01 +01:00
2021-11-29 10:18:01 +01:00
2022-01-31 17:24:52 +01:00
2022-01-24 11:52:35 +01:00
2022-02-03 09:20:20 +01:00
2022-02-03 15:27:05 +00:00
2022-02-04 13:41:15 +01:00
2022-02-03 17:49:39 +01:00
2022-02-03 18:23:45 +01:00
2022-02-04 13:41:15 +01:00
2022-02-03 09:20:20 +01:00
2022-01-26 20:24:05 +01:00
2020-11-18 15:36:41 +01:00