API Credential
API Credential provides tools for creating, listing, and retrieving resources in F5 Distributed Cloud.
| Tool | Description |
|---|---|
f5xc-api-authentication-api-credential-create | Bulk Revoke API credentials. |
f5xc-api-authentication-api-credential-get | Get API Credentials. |
f5xc-api-authentication-api-credential-list | List API Credentials. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
name | Credential name… | example-resource |
namespace | Namespace… | system |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with API Credential resources:
Create API Credential
Section titled “Create API Credential”“Create a api-credential named ‘example’ in the ‘production’ namespace”
List API Credentials
Section titled “List API Credentials”“List all api-credentials in the ‘production’ namespace”
Get API Credential Details
Section titled “Get API Credential Details”“Get details of the api-credential named ‘example’ in namespace ‘production‘“
CURL Examples
Section titled “CURL Examples”# List resourcescurl -X GET "https://${TENANT}.console.ves.volterra.io/api/web/namespaces/$${PARAM}/api_credentials" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Get specific resourcecurl -X GET "https://${TENANT}.console.ves.volterra.io/api/web/namespaces/$${PARAM}/api_credentials/$${PARAM}" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Create resourcecurl -X POST "https://${TENANT}.console.ves.volterra.io/api/web/namespaces/system/bulk_revoke/api_credentials" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json" \ -d @api_credential.json