Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tenzir Token #95

Open
dominiklohmann opened this issue Jul 25, 2023 · 1 comment
Open

Tenzir Token #95

dominiklohmann opened this issue Jul 25, 2023 · 1 comment
Labels
improvement An incremental enhancement of an existing feature platform The infra behind app.tenzir.com

Comments

@dominiklohmann
Copy link
Member

dominiklohmann commented Jul 25, 2023

To connect a node to the platform we currently deploy a YAML configuration that looks like this:

control-endpoint: wss://ws.tenzir.app/production
api-key: j_UGRfOUycV-mfkx2i4MG68phHegxfgXD3dv2gIiXK0
tenant-id: t-9yozslno

We'd like to make a few changes to this to make logging into the app easier.

  1. In the configuration, we want to combine the three options into a single tenzir.token option. This can, for example, be a base64-encoded version of <tenant-id>:<api-key>[:<control-endpoint>], omitting the control endpoint for production deployments for brevity in most tokens. We have a few options here that we should discuss.

  2. In the node, we want to persist this into the platform plugin's state. If no token is provided, we load the token from the state if it exists.

  3. For the command-line, we would like to add a login <token> operator that writes the state, logging the user into the app.

  4. When registering a node, we want to update the instructions so that the user just needs to run TENZIR_TOKEN=<token> curl https://get.tenzir.app | sh, with the token pre-filled in the user interface.

  5. Optional: When using login without a token, show a link to the user at which they can log in via OIDC, select a workspace to connect the node to, and store the generated token in the state.

@lava

This comment has been minimized.

@mavam mavam transferred this issue from another repository Sep 14, 2023
@mavam mavam transferred this issue from another repository Sep 15, 2023
@mavam mavam added engine Core pipeline and storage engine improvement An incremental enhancement of an existing feature platform The infra behind app.tenzir.com labels Sep 15, 2023
@mavam mavam removed the engine Core pipeline and storage engine label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement An incremental enhancement of an existing feature platform The infra behind app.tenzir.com
Projects
None yet
Development

No branches or pull requests

3 participants