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 runningnsc 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 addif you need it again
Related Topics
- nsc auth trust-relationships - Main command overview
- nsc auth trust-relationships add - Add new relationships
- nsc auth trust-relationships list - List existing relationships
- Security - Security best practices and audit logging