Homec4science

Generate and use "cluster" Conduit API tokens

Authored by epriestley <git@epriestley.com> on Dec 15 2014, 20:15.

Description

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

Details

Committed
epriestley <git@epriestley.com>Dec 15 2014, 20:15
Pushed
aubortJan 31 2017, 17:16
Parents
rPH288498f8d099: Add conduit.getcapabilities and a modern CLI handshake workflow
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHf18ee5c237fe: Generate and use "cluster" Conduit API tokens (authored by epriestley <git@epriestley.com>).Dec 15 2014, 20:15