Skip to content

Secret

Low Risk

Operations on this resource are generally safe.

API to GET list of secrets for a given namespace in a site.

Tools

Tool Description
f5xc-api-sites-secret-list Secret List.

Parameters

Path Parameters

Parameter Description Example
namespace Namespace -
site Site -

Example Usage

Ask Claude to help you work with Secret resources:

List Secrets

"List all secrets in the 'production' namespace"

CURL Examples

# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/secrets" \
  -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}/secrets/<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}/secrets" \
  -H "Authorization: APIToken ${F5XC_API_TOKEN}" \
  -H "Content-Type: application/json" \
  -d @secret.json

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