1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 09:22:40 +01:00
phorge-phorge/src/applications/conduit
epriestley f18ee5c237 Generate and use "cluster" Conduit API tokens
Summary:
Ref T5955. Ref T2783.

  - Removes the "temporary" type. I was going to use this for T3628 but it started taking more time than I wanted to spend on it.
  - Add a "cluster" type, which is an internal-only token type used within a cluster. This token value is never shown to the user.
  - Automatically generate, use, and cycle cluster tokens.

Test Plan:
  - Diffusion (mostly) works with a repository configured to use a remote service.
  - Saw cluster tokens generate; terminated a cluster token and saw it regenerate.
  - Viewed cluster token in settings panel and saw nice explanatory text instead, as expected (we might just hide these eventually).

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T2783, T5955

Differential Revision: https://secure.phabricator.com/D10990
2014-12-15 11:15:14 -08:00
..
application Add conduit.getcapabilities and a modern CLI handshake workflow 2014-12-15 11:14:53 -08:00
call Accept Conduit tokens as an authentication mechanism 2014-12-15 11:14:41 -08:00
controller Generate and use "cluster" Conduit API tokens 2014-12-15 11:15:14 -08:00
garbagecollector Add Conduit Tokens to make authentication in Conduit somewhat more sane 2014-12-15 11:14:23 -08:00
method Add conduit.getcapabilities and a modern CLI handshake workflow 2014-12-15 11:14:53 -08:00
protocol Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
query Generate and use "cluster" Conduit API tokens 2014-12-15 11:15:14 -08:00
settings Generate and use "cluster" Conduit API tokens 2014-12-15 11:15:14 -08:00
ssh Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
storage Generate and use "cluster" Conduit API tokens 2014-12-15 11:15:14 -08:00