Add personal access token cli support
hammer cli should also support creating and revoking personal access tokens nested under the user resource. Support for this was added in Core #21394.
#2 Updated by Tomáš Strachota over 3 years ago
- Subject changed from add personal access token cli support to Add personal access token cli support
Adding some implementation notes:
API docs for this feature is at <YOUR_FOREMAN_URL>/apidoc/v2/personal_access_tokens.html
Four new commands should be added:
hammer user acces-token list --user=admin hammer user acces-token info --id=1 hammer user acces-token create --user=admin --name=test_token --expires-at 01/01/2018 hammer user acces-token delete --user=admin --name=test_token
#6 Updated by Oleh Fedorenko over 3 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|defb07c117a0b1461931309284bd38fb9248d8e2.