kms user
Manage logged in users
kms userDescription
This command allows you to manage the current logged in users on the CLI
Sub-commands
Use this command to switch between profiles that are currently logged into the CLI
kms user switchWith this command, you can modify the backend API that is utilized for all requests associated with a specific profile. For instance, you have the option to point the profile to use either the Hanzo KMS Cloud or your own self-hosted Hanzo KMS instance.
kms user update domainUse this command to get your current Hanzo KMS access token and session information. This command requires you to be logged in.
The command will display:
- Your session ID
- Your full JWT access token
kms user get tokenExample output:
Session ID: abc123-xyz-456
Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Flags
Output only the JWT token without formatting (no session ID)
Default value: false
# Example
kms user get token --plainExample output:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...How is this guide?
Last updated on