Skip to content

Service Credential

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.

ToolDescription
f5xc-api-authentication-service-credential-createBulk Revoke service credential.
f5xc-api-authentication-service-credential-getGET Service Credential.
f5xc-api-authentication-service-credential-listList service credentials.
f5xc-api-authentication-service-credential-updateReplace service credentials.
ParameterDescriptionExample
nameCredential name-
namespaceNamespace-

Ask Claude to help you work with Service Credential resources:

“Create a service-credential named ‘example’ in the ‘production’ namespace”

“List all service-credentials in the ‘production’ namespace”

“Get details of the service-credential named ‘example’ in namespace ‘production‘“

Terminal window
# 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}"