Project

General

Custom queries

Profile

Actions

Feature #21514

closed

Add personal access token cli support

Added by Timo Goebel over 7 years ago. Updated almost 7 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 #2

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

Actions #6

Updated by Oleh Fedorenko about 7 years ago

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

Also available in: Atom PDF