Coding Examples
The following sections walk through the process of executing various Fuzzball operations using the Python SDK. Usage in other programming languages will follow similar conventions. See the language-specific documentation included in your SDK directory for more information.
Cluster administrators can programmatically obtain a JWT for any user in any organization using the AdminAuthService.AssumeUserIdentity RPC. This is useful for automated troubleshooting scripts or administrative tooling.
Request Parameters:
organization_id(string, required): UUID of the target organizationuser_id(string, required): UUID of the target user
Response:
jwt(string): A JWT token for the target user, with the admin’s identity embedded in an RFC 8693actclaim
Use the returned JWT as the bearer token for subsequent API calls to act as the impersonated user. Consult your language-specific SDK documentation for client initialization and session management patterns. For more details on user impersonation workflows, see the Cluster Admin Guide: Impersonating Users.