Skip to main content
Remove a trust relationship. nsc auth trust-relationships remove deletes an existing trust relationship from your workspace. Once removed, tokens from the specified issuer and subject pattern will no longer be accepted for authentication.

Usage

Example

1

List trust relationships

List existing trust relationships to find the ID to remove:
Output
2

Remove the trust relationship

Remove the trust relationship using its ID:
Output

Options

—id string

ID of the trust relationship to remove. You can find this ID by running nsc auth trust-relationships list.

Important Notes

  • Immediate Effect: Removing a trust relationship takes effect immediately
  • Active Sessions: Existing authenticated sessions using the removed trust relationship will remain valid until they expire
  • Irreversible: Once removed, you’ll need to recreate the trust relationship with nsc auth trust-relationships add if you need it again
Last modified on August 20, 2026