Skip to content

Service Credential

Medium Risk

Some operations on this resource may modify or delete data.

It is used to revoke multiple service credentials. This API would disable the credentials and mark them for deletion. The actual removal of objects would be done in the background. Only admins are allowed to access this API.

Tools

Tool Description
f5xc-api-authentication-service-credential-create Bulk Revoke service credential.
f5xc-api-authentication-service-credential-get GET Service Credential.
f5xc-api-authentication-service-credential-list List service credentials.
f5xc-api-authentication-service-credential-update Replace service credentials.

Parameters

Path Parameters

Parameter Description Example
name Credential name -
namespace Namespace -

Side Effects

Operations on this resource may have the following effects:

Creates:

  • service-credential

Modifies:

  • service-credential

Example Usage

Ask Claude to help you work with Service Credential resources:

Create Service Credential

"Create a service-credential named 'example' in the 'production' namespace"

List Service Credentials

"List all service-credentials in the 'production' namespace"

Get Service Credential Details

"Get details of the service-credential named 'example' in namespace 'production'"

CURL Examples

# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/service_credentials" \
  -H "Authorization: APIToken ${F5XC_API_TOKEN}" \
  -H "Content-Type: application/json"

# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/service_credentials/<name>" \
  -H "Authorization: APIToken ${F5XC_API_TOKEN}" \
  -H "Content-Type: application/json"

# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/service_credentials" \
  -H "Authorization: APIToken ${F5XC_API_TOKEN}" \
  -H "Content-Type: application/json" \
  -d @service_credential.json

# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/service_credentials/<name>" \
  -H "Authorization: APIToken ${F5XC_API_TOKEN}"