livebook/docs/deployment/teleport.md
2023-10-25 10:00:32 +02:00

1.3 KiB

Authentication with Teleport

Setting up Teleport authentication will protect all routes of your notebook. It is particularly useful for adding authentication to deployed notebooks. Teleport authentication is provided in addition to Livebook's authentication for authoring notebooks.

How to

To integrate Teleport authentication with Livebook, set the LIVEBOOK_IDENTITY_PROVIDER environment variable to LIVEBOOK_IDENTITY_PROVIDER=teleport:https://[cluster-name]:3080.

LIVEBOOK_IDENTITY_PROVIDER=teleport:https://[cluster-name]:3080 \
livebook server

See https://goteleport.com/docs/application-access/jwt/introduction/ for more information on how Teleport authentication works.

Livebook Teams

Livebook Teams users have access to airgapped notebook deployment via Docker, with pre-configured Zero Trust Authentication, shared team secrets, and file storages.

Furthermore, if you are deploying multi-session apps via Livebook Teams, you can programmatically access data from the authenticated user by calling Kino.Hub.app_info/0.

To get started, open up Livebook, click "Add Organization" on the sidebar, and visit the "Airgapped Deployment" section of your organization.