Actions
Feature #21514
closedAdd personal access token cli support
Status:
Closed
Priority:
Normal
Assignee:
Category:
Users and roles
Target version:
Difficulty:
Triaged:
Pull request:
Team Backlog:
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.
Updated by Tomáš Strachota over 7 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
Updated by Oleh Fedorenko about 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-foreman|defb07c117a0b1461931309284bd38fb9248d8e2.
Actions