Feature #21514
closed
Add personal access token cli support
Added by Timo Goebel about 7 years ago.
Updated over 6 years ago.
Description
hammer cli should also support creating and revoking personal access tokens nested under the user resource. Support for this was added in Core #21394.
- Related to Feature #21394: add an api for personal access tokens added
- 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
- Status changed from New to Assigned
- Assignee set to Oleh Fedorenko
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/350 added
- Pull request https://github.com/theforeman/hammer-cli/pull/271 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 350
Also available in: Atom
PDF