Docs

API Tokens

Securely manage and generate authentication tokens for API access.

What Are API Tokens?

API tokens are secure authentication credentials used to access our platform's protected APIs. They enable programmatic access with fine-grained permissions.

Key Features

  • Scoped permissions
  • Auto-expiring tokens
  • Revocable at any time

Token Security

API tokens should be treated like passwords. Never share them publicly or commit them to version control.

🔒 Best Practice: Store tokens in secure vaults or environment variables, never in plain text files.

Generate New Token

1. Open CLI

Make sure you have the latest CLI installed.

2. Run Command

@myplatform token generate --name "Production Access"

3. Save Token

Your new token will be displayed once. Store it securely before proceeding.

Command Output

Token Name: Production Access Token ID: a1B2c3D4e5F6g7H8 Active: true Expires: 2026-08-13T15:30:00.000Z Scopes: read,write

Token Management

Active Tokens

Token ID Description Expires Actions
a1B2c3D4e5F6g7H8 Production Deployment 2026-08-13
z9Y8x7W6v5U4t3S2 Development CI/CD 2025-08-20

Security Best Practices

Use Vault Storage

Store tokens in secure secret management systems rather than local files or source control.

Rotate Regularly

Rotate tokens at least quarterly or after any potential security compromise.

Scope Access

Assign the minimum required permissions to each token based on usage context.

Monitor Activity

Regularly review token usage in your account's security dashboard.

```