Dao Thanh Tung
ae720fe28d
Add `-json` and `-t` flag for `nomad acl token create` command ( #16055 )
...
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
2023-02-07 12:05:41 +01:00
Seth Hoenig
83f9fc9db4
tests: do not return error from testagent shutdown ( #15595 )
2022-12-21 08:23:58 -06:00
James Rasell
601588df6b
Merge branch 'main' into f-gh-13120-sso-umbrella-merged-main
2022-08-25 12:14:29 +01:00
James Rasell
7401677e4e
cli: output none when a token has no expiration.
2022-08-24 15:14:49 +01:00
Seth Hoenig
4c1a0d4907
cleanup: first pass at fixing command package warnings
...
This PR is the first of several for cleaning up warnings, and refactoring
bits of code in the command package. First pass is over acl_ files and
gets some helpers in place.
2022-08-17 15:33:37 -05:00
James Rasell
51a7df50bb
cli: add ability to create and view tokens with ACL role links.
2022-08-17 14:49:52 +01:00
James Rasell
f6d12a3c00
acl: enable configuration and visualisation of token expiration for users ( #13846 )
...
* api: add ACL token expiry params to HTTP API
* cli: allow setting and displaying ACL token expiry
2022-07-20 10:06:23 +02:00
Seth Hoenig
2631659551
ci: swap ci parallelization for unconstrained gomaxprocs
2022-03-15 12:58:52 -05:00
James Rasell
2ed78b8a7e
cli: move tests to use NewMockUi func.
2020-10-05 16:07:41 +02:00
Mahmood Ali
30492e8119
tests: avoid using os.Setenv for tokens
2020-06-26 08:52:21 -04:00
Michael Schurter
fd9d09e290
Rename TestAgent.Token to TestAgent.RootToken
2017-10-06 14:35:14 -07:00
Chelsea Holland Komlo
aa7cc445be
fixups from code review
2017-09-15 18:08:46 +00:00
Armon Dadgar
08da937cf0
command: Adding acl token create
2017-09-14 21:55:25 -07:00