Skip to content

Authentication

No credentials required. The server provides:

  • API documentation and schema information
  • Parameter descriptions and validation
  • CURL command examples
  • Dependency and prerequisite guidance

Requires valid credentials. Adds:

  • Direct API execution against your tenant
  • Resource creation, reading, updating, deletion
  • Real-time status queries
  • Configuration deployment

The simplest authentication method.

  1. Log into F5 Distributed Cloud Console
  2. Navigate to Administration -> Personal Management -> Credentials
  3. Click Add Credentials
  4. Select API Token
  5. Set expiration and copy the token

Set environment variables:

Terminal window
export F5XC_API_URL="https://your-tenant.console.ves.volterra.io"
export F5XC_API_TOKEN="your-api-token-here"

For MCP JSON configuration, see IDE Setup.

More secure, certificate-based authentication.

  1. Log into F5 Distributed Cloud Console
  2. Navigate to Administration -> Personal Management -> Credentials
  3. Click Add Credentials
  4. Select API Certificate
  5. Download the .p12 file and note the password
Terminal window
export F5XC_API_URL="https://your-tenant.console.ves.volterra.io"
export F5XC_P12_BUNDLE="/absolute/path/to/certificate.p12"
export F5XC_P12_PASSWORD="your-certificate-password"

For MCP JSON configuration, see IDE Setup.

An alternative to P12 bundles using separate certificate and key files:

Terminal window
export F5XC_API_URL="https://your-tenant.console.ves.volterra.io"
export F5XC_CERT="/path/to/certificate.pem"
export F5XC_KEY="/path/to/private-key.pem"

See Environment Variables for details.

The server automatically normalizes various URL formats:

You EnterNormalized To
https://tenant.volterra.ushttps://tenant.console.ves.volterra.io/api
https://tenant.volterra.us/https://tenant.console.ves.volterra.io/api
https://tenant.volterra.us/apihttps://tenant.console.ves.volterra.io/api
https://tenant.console.ves.volterra.iohttps://tenant.console.ves.volterra.io/api
https://tenant.staging.volterra.ushttps://tenant.staging.console.ves.volterra.io/api

You can use any of these formats - the server handles the conversion.

For managing multiple F5XC tenant credentials, use profiles stored in ~/.config/f5xc/profiles/.

The easiest way to configure authentication is through Claude. Ask Claude to configure authentication:

“Configure F5XC authentication with my tenant”

Claude will use the f5xc-api-configure-auth tool to:

  1. Check current authentication status
  2. Prompt you for tenant URL and API token
  3. Save credentials to a profile
  4. Set the profile as active
ActionDescription
statusCheck current authentication state
configureSave credentials to a new or existing profile
list-profilesList all available profiles
set-activeSwitch to a different profile

Profiles are stored in ~/.config/f5xc/profiles/ (XDG Base Directory compliant):

~/.config/f5xc/
├── active_profile # Name of the active profile
└── profiles/
├── default.json # Default profile
├── production.json # Production tenant
└── staging.json # Staging tenant

The server loads credentials in this order:

  1. Environment variables (highest priority) - Always override profiles
  2. Active profile - From ~/.config/f5xc/
  3. No credentials - Documentation mode (lowest priority)

Add to .gitignore:

.env
*.p12
*.pem

Create .env (not committed) and reference via envFile in your IDE configuration.

  • API tokens: Rotate every 90 days
  • Certificates: Use short-lived certificates when possible

Create service accounts with minimal required permissions for automation.

Check authentication status:

“Get the F5XC API server info”

Response for authenticated mode:

{
"mode": "execution",
"authenticated": true,
"authMethod": "token",
"tenantUrl": "https://your-tenant.console.ves.volterra.io/api"
}

Response for unauthenticated mode:

{
"mode": "documentation",
"authenticated": false,
"authMethod": "none"
}