> ## 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 trust-relationships list

List existing trust relationships.

`nsc auth trust-relationships list` displays all currently configured trust relationships for your workspace, showing the issuer and subject match patterns for each relationship.

## Usage

```bash theme={null}
nsc auth trust-relationships list [--output <json>]
```

### Example Output

```bash theme={null}
nsc auth trust-relationships list
```

```text nocopy Output theme={null}
Trust Relationships:

ID: tr_abc123
Issuer: https://accounts.google.com
Subject Match: projects/123456789/serviceAccounts/my-service@my-project.iam.gserviceaccount.com
Created: 2024-01-15 10:30:00 UTC

ID: tr_def456
Issuer: https://fly.io/example-org
Subject Match: example-org:app:*
Created: 2024-01-10 14:22:00 UTC

ID: tr_ghi789
Issuer: https://cloud.rwx.com/mint
Subject Match: org:my-org:vault:deploy-vault
Created: 2024-01-08 09:15:00 UTC
```

## Understanding the Output

Each trust relationship displays:

* **ID**: Unique identifier for the trust relationship, used when removing relationships
* **Issuer**: The external identity provider that issued the tokens
* **Subject Match**: Pattern that defines which subjects are trusted
* **Created**: When the trust relationship was established

## Options

<h3 id="-o---output-string-optional">
  -o, --output string (optional)
</h3>

Controls the output format. The only currently supported value is `json`, which prints the trust relationships as a JSON array instead of the human-readable listing shown above. If omitted, the default human-readable format is used.

## Related Topics

* [nsc auth trust-relationships](/docs/reference/cli/auth-trust-relationships) - Main command overview
* [nsc auth trust-relationships add](/docs/reference/cli/auth-trust-relationships-add) - Add new relationships
* [nsc auth trust-relationships remove](/docs/reference/cli/auth-trust-relationships-remove) - Remove relationships
* [Workspace Access Controls](/docs/workspaces/access) - Authentication and access management
