How to Federate Identity Across Clusters
Generate quantum-safe identity tokens to access MicroStax capabilities across boundaries.
How to Federate Identity Across Clusters
MicroStax provides a centralized Sovereignty and Identity layer (Patent 13). When an AI Agent or a microservice spanning multiple regions needs to cross-authenticate securely, you must request a Federated Token.
Generating the Token
The fastest way to generate an ad-hoc token for testing or local scripting is via the VS Code interface or the CLI.
Option A: VS Code Command Palette
Cmd/Ctrl + Shift + P- Run MicroStax: Federate Identity Token...
- Select the target Environment or Cluster from the quick-pick menu.
- The token is instantly copied to your clipboard.
Option B: The CLI
# Verify your current scope
microstax auth verify
# Generate the federated JWT scope for a specific target
microstax auth federate --service default --target stx-eu-west-cluster
Utilizing the Token
You can now inject this JWT into the Authorization: Bearer <token> header of your API requests or provide it to the MCP Server configuration. The token utilizes short-lived Post-Quantum Cryptography handshakes to guarantee session integrity.