Project

General

Profile

Actions

Feature #1301

closed

Consider adding a per-user API key

Added by Brian Gupta about 13 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Many Rails apps support authentication via a per user API key. If it's not too much work, we may wish to add this as an option.


Files

api_token.png View api_token.png 19.8 KB API token page on an example gitlab site alan mcginlay, 11/15/2012 06:43 AM

Related issues 7 (2 open5 closed)

Related to Foreman - Feature #1576: Implement oauth authentication and authorizationClosedActions
Related to Hammer CLI - Feature #8016: Ability to use tokenized authentication to hammer in lieu of username/password in configuration file.ClosedTomáš Strachota10/21/2014Actions
Related to Foreman - Feature #8852: add token-based authentication feature for APINewActions
Related to Foreman - Bug #18245: Enabling OAuth is too dangerousNew01/25/2017Actions
Related to Foreman - Feature #21394: add an api for personal access tokensClosedTimo GoebelActions
Related to Foreman - Feature #31080: Add UI for managing Personal Access TokensClosedKamil SzubrychtActions
Has duplicate Foreman - Feature #4331: allow for per-user oauth api keysDuplicate02/12/2014Actions
Actions #1

Updated by Ohad Levy over 12 years ago

  • Target version set to 1.1

would the oauth implementation would suffice ?

Actions #2

Updated by Brian Gupta over 12 years ago

Welll.. As I understand, Oauth is to allow external auth sources. (You need a third party oauth trusted authentication source, no?)

When I created this ticket, I was thinking of a native API key, that each user could generate and revoke for their own accounts, so they didn't have to bake their pw into scripts and what not... (Correct me if I am misunderstanding what you are proposing with Oauth).

Actions #3

Updated by alan mcginlay about 12 years ago

The way gitlab manages it would be ideal. Example api request:

GET http://example.com/api/v2/projects?private_token=QVy1PB7sTxfy4pqfZM1U

That would list out all the projects which the user with that private token has access to.

Actions #4

Updated by Ohad Levy almost 12 years ago

  • Target version deleted (1.1)
Actions #5

Updated by Dominic Cleal almost 11 years ago

  • Has duplicate Feature #4331: allow for per-user oauth api keys added
Actions #6

Updated by Dominic Cleal almost 11 years ago

  • Related to Feature #1576: Implement oauth authentication and authorization added
Actions #7

Updated by Dominic Cleal almost 11 years ago

  • Subject changed from Consider adding an API key to Consider adding a per-user API key
Actions #8

Updated by Dominic Cleal about 10 years ago

  • Related to Feature #8016: Ability to use tokenized authentication to hammer in lieu of username/password in configuration file. added
Actions #9

Updated by Dominic Cleal almost 10 years ago

  • Related to Feature #8852: add token-based authentication feature for API added
Actions #10

Updated by Dominic Cleal almost 8 years ago

  • Related to Bug #18245: Enabling OAuth is too dangerous added
Actions #11

Updated by Timo Goebel over 7 years ago

  • Status changed from New to Assigned
  • Assignee set to Timo Goebel
Actions #12

Updated by The Foreman Bot over 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4597 added
Actions #13

Updated by Timo Goebel about 7 years ago

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

Updated by Rahul Bajaj over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #15

Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/theforeman/foreman/pull/7806 added
Actions #16

Updated by Kamil Szubrycht about 4 years ago

  • Related to Feature #31080: Add UI for managing Personal Access Tokens added
Actions #17

Updated by Kamil Szubrycht about 4 years ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/7806)
Actions

Also available in: Atom PDF