# Authentication

How users and agents authenticate to beams and resources.

You sign in to Teleport as yourself to create or connect to a beam. Inside the beam, workloads use the beam’s own Teleport identity, not a copy of your login.

## User sign-in

**Install the client tools and sign in**

Beams is a [Teleport](https://goteleport.com) project and uses [official Teleport client tools](https://goteleport.com/download/client-tools/).

The client tools include `tsh` to sign in and run commands, and `tctl` to administer your cluster if you have permission.



Cluster: `example.beams.run`. Edit this example to use your cluster name.

Install version **18.11.10** of the client:

**macOS**

Download and open the macOS installer, then follow its instructions.

```sh
curl -O https://cdn.teleport.dev/teleport-tools-18.11.10.pkg
open teleport-tools-18.11.10.pkg
```

**Linux**

For Linux x86-64, download and install the client tools:

```sh
curl -O https://cdn.teleport.dev/teleport-v18.11.10-linux-amd64-bin.tar.gz
tar -xzf teleport-v18.11.10-linux-amd64-bin.tar.gz
sudo ./teleport/install
```

**Windows**

For Windows x86-64, run these commands in PowerShell. Add the extraction directory (`$env:LOCALAPPDATA\Teleport`) to your user PATH to use `tsh` in future terminals; the last command adds it to this terminal's PATH.

```powershell
Invoke-WebRequest -Uri https://cdn.teleport.dev/teleport-v18.11.10-windows-amd64-bin.zip -OutFile teleport.zip
Expand-Archive -Path teleport.zip -DestinationPath "$env:LOCALAPPDATA\Teleport" -Force
$env:Path += ";$env:LOCALAPPDATA\Teleport"
```

Follow the official client [tools install guide](https://goteleport.com/download/client-tools/) for other versions and architectures.

Check that you’re running v18.11.10 of the client with `tsh version`.

```sh
tsh version
```

**Passwordless**

I sign in without a password (e.g. a passkey).

```sh
tsh login --proxy='example.beams.run' --auth=passwordless
```

**Password \& MFA**

I have a password & MFA set up for my account:

Replace `you@example.com` with your Teleport username.

```sh
tsh login --proxy='example.beams.run' --user=you@example.com
```

**SSO**

I sign in with SSO (e.g. Okta, GitHub, SAML).

```sh
tsh login --proxy='example.beams.run'
```

On your workstation, replace `example.beams.run:443` with your Teleport proxy address. Complete your cluster’s sign-in and MFA prompts, then check that `tsh status` shows the expected user and cluster. Sign in again when your session expires.

**Workstation**

```sh
tsh login --proxy=example.beams.run:443
tsh status
```

## Runtime identity

Teleport provisions and renews a short-lived identity for each beam. Run this inside the beam to see its `bot-beam-…` username, roles, and delegation chain back to the creator:

**Inside the beam**

```sh
tsh status
```

When you create a beam, use `tsh beams add --roles=…` to select the eligible roles it needs. If you omit `--roles`, Teleport selects your eligible standing roles. Temporary access from your own access requests does not carry over automatically. See [Delegation](/docs/identity/delegation/) for how to choose and verify roles. Don’t sign in as your workstation user inside a beam or copy your credentials into it.

## Resource authentication

The beam’s identity tells Teleport **who is connecting**. Roles and any approved [access requests](/docs/identity/access-requests/) determine **what that identity can use**. A successful `tsh status` confirms the session, not access to a particular resource.

**Inside the beam**

```sh
tsh apps ls
tsh db ls
```

These commands show apps and databases visible to the beam. To verify a connection, follow the guide for the resource you’re using, such as [Databases](/docs/connectivity/databases/) or [Linux servers](/docs/connectivity/servers/).

## Next step


