> ## Documentation Index
> Fetch the complete documentation index at: https://namespace.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# nsc auth exchange-circleci-token

Generate a Namespace token from a CircleCI JWT.

`nsc auth exchange-circleci-token` exchanges the OIDC JWT that CircleCI
injects into a job for a Namespace authentication token. This lets a
CircleCI job authenticate as a trusted identity without storing a
long-lived Namespace credential as a CircleCI secret.

This command is typically run automatically as part of Namespace's CircleCI
integration, federating a CI job's identity into Namespace so it can access
Namespace Instances, Remote Builders, and other Namespace products.

## Usage

```bash theme={null}
nsc auth exchange-circleci-token
```

### Example

```bash theme={null}
nsc auth exchange-circleci-token
```

## Options

`nsc auth exchange-circleci-token` has no options.
