Skip to main content
The auth command group manages your authentication with Muna.

Commands


muna auth login

Authenticate with Muna using your access key.

Logging In

Generate an access key from your developer settings.

Using Environment Variables

You can also set the MUNA_ACCESS_KEY environment variable:

muna auth status

Check your current authentication status.
This displays:
  • Username
  • Email
  • Account status

muna auth logout

Logout from Muna and clear stored credentials.
After logging out, you’ll need to run muna auth login again before using commands that require authentication.

Security Best Practices

  • Access keys are stored securely in your system’s credential store
  • Never share your access key or commit it to version control
  • Rotate your access key periodically from the developer settings
If you believe your access key has been compromised, immediately regenerate it from your developer settings.