Project

General

Profile

Actions

Feature #21514

closed

Add personal access token cli support

Added by Timo Goebel about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Users and roles
Fixed in Releases:
Found in Releases:
In Kanboard:

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 issues 1 (0 open1 closed)

Related to Foreman - Feature #21394: add an api for personal access tokensClosedTimo GoebelActions
Actions #1

Updated by Timo Goebel about 7 years ago

  • Related to Feature #21394: add an api for personal access tokens added
Actions #2

Updated by Tomáš Strachota about 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

Actions #3

Updated by Oleh Fedorenko almost 7 years ago

  • Status changed from New to Assigned
  • Assignee set to Oleh Fedorenko
Actions #4

Updated by The Foreman Bot almost 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/350 added
Actions #5

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/theforeman/hammer-cli/pull/271 added
Actions #6

Updated by Oleh Fedorenko over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #7

Updated by Martin Bacovsky over 6 years ago

  • Translation missing: en.field_release set to 350
Actions

Also available in: Atom PDF