Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Automation-friendly API Tokens for Synapse Administration #5323

Open
hawkowl opened this issue Jun 3, 2019 · 2 comments
Open

Automation-friendly API Tokens for Synapse Administration #5323

hawkowl opened this issue Jun 3, 2019 · 2 comments
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. z-p2 (Deprecated Label)

Comments

@hawkowl
Copy link
Contributor

hawkowl commented Jun 3, 2019

When you have some variety of automation of maintenance of your Synapse server, an explicit API token can have several benefits over an "admin" user and access token:

  • It does not create a device/etc which is not actually a Matrix client, and scripts/tools don't need to be able to log in to a Matrix server to get a valid key (or have it provided)
  • The creation of a user is not required (e.g. bootstrapping), the addition of a unique secret token in the configuration file can be used to perform these tasks
  • It is not tied to the lifespan of user logins (which may be purged)
  • It can have its own lifespan rules that may not make sense for user access tokens (e.g. use-until date for short-lived tokens, or extremely long-lived tokens)
@hawkowl hawkowl self-assigned this Jun 3, 2019
@neilisfragile neilisfragile added the z-p2 (Deprecated Label) label Jun 10, 2019
@richvdh
Copy link
Member

richvdh commented Dec 3, 2019

looks like work on this is starting at #6222

@richvdh
Copy link
Member

richvdh commented Jun 8, 2020

might be better to use OAuth2 scopes: https://github.com/matrix-org/matrix-doc/issues/2615

kmohrf pushed a commit to grouprise/grouprise that referenced this issue Feb 7, 2021
Sadly the registration of a new user requires dirty interaction with the
matrix-synapse server (reconfiguration and restart).
See matrix-org/synapse#5323
kmohrf pushed a commit to grouprise/grouprise that referenced this issue Feb 7, 2021
Sadly the registration of a new user requires dirty interaction with the
matrix-synapse server (reconfiguration and restart).
See matrix-org/synapse#5323
kmohrf pushed a commit to grouprise/grouprise that referenced this issue Feb 7, 2021
Sadly the registration of a new user requires dirty interaction with the
matrix-synapse server (reconfiguration and restart).
See matrix-org/synapse#5323
kmohrf pushed a commit to grouprise/grouprise that referenced this issue Apr 24, 2021
Sadly the registration of a new user requires dirty interaction with the
matrix-synapse server (reconfiguration and restart).
See matrix-org/synapse#5323
kmohrf pushed a commit to grouprise/grouprise that referenced this issue May 15, 2021
Sadly the registration of a new user requires dirty interaction with the
matrix-synapse server (reconfiguration and restart).
See matrix-org/synapse#5323
kmohrf pushed a commit to grouprise/grouprise that referenced this issue May 15, 2021
Sadly the registration of a new user requires dirty interaction with the
matrix-synapse server (reconfiguration and restart).
See matrix-org/synapse#5323
kmohrf pushed a commit to grouprise/grouprise that referenced this issue May 16, 2021
Sadly the registration of a new user requires dirty interaction with the
matrix-synapse server (reconfiguration and restart).
See matrix-org/synapse#5323
kmohrf pushed a commit to grouprise/grouprise that referenced this issue May 16, 2021
Sadly the registration of a new user requires dirty interaction with the
matrix-synapse server (reconfiguration and restart).
See matrix-org/synapse#5323
kmohrf pushed a commit to grouprise/grouprise that referenced this issue May 16, 2021
Sadly the registration of a new user requires dirty interaction with the
matrix-synapse server (reconfiguration and restart).
See matrix-org/synapse#5323
kmohrf pushed a commit to grouprise/grouprise that referenced this issue May 16, 2021
Sadly the registration of a new user requires dirty interaction with the
matrix-synapse server (reconfiguration and restart).
See matrix-org/synapse#5323
kmohrf pushed a commit to grouprise/grouprise that referenced this issue May 16, 2021
Sadly the registration of a new user requires dirty interaction with the
matrix-synapse server (reconfiguration and restart).
See matrix-org/synapse#5323
kmohrf pushed a commit to grouprise/grouprise that referenced this issue May 18, 2021
Sadly the registration of a new user requires dirty interaction with the
matrix-synapse server (reconfiguration and restart).
See matrix-org/synapse#5323
kmohrf pushed a commit to grouprise/grouprise that referenced this issue May 18, 2021
Sadly the registration of a new user requires dirty interaction with the
matrix-synapse server (reconfiguration and restart).
See matrix-org/synapse#5323
kmohrf pushed a commit to grouprise/grouprise that referenced this issue May 19, 2021
Sadly the registration of a new user requires dirty interaction with the
matrix-synapse server (reconfiguration and restart).
See matrix-org/synapse#5323
kmohrf pushed a commit to grouprise/grouprise that referenced this issue May 19, 2021
Sadly the registration of a new user requires dirty interaction with the
matrix-synapse server (reconfiguration and restart).
See matrix-org/synapse#5323
@DMRobertson DMRobertson added T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. and removed z-enhancement labels Aug 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. z-p2 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

4 participants