Skip to content

Tpm API Key

Replace a APIKey object’s revocation or enable/disable status. A revoked APIKey is not considered disabled. Certificates minted using disabled APIKeys are rejected during system bring-up/verification stage, whereas certificates minted using revoked APIKeys are only rejected if they were minted after revocation date.

ToolDescription
f5xc-api-botandthreatdefense-tpm-api-key-createCreate TPM API Key.
f5xc-api-botandthreatdefense-tpm-api-key-getGET TPM API Key.
f5xc-api-botandthreatdefense-tpm-api-key-listList TPM API Key.
f5xc-api-botandthreatdefense-tpm-api-key-updateReplace TPM API Key.
ParameterDescriptionExample
metadata.namespaceNamespace-
nameName-
namespaceNamespace-
metadata.nameName-
ParameterDescriptionExample
response_formatThe format in which the configuration object is to be fetched. This could be for example-
label_filterA LabelSelectorType expression that every item in list response will satisfy.-
report_fieldsThe report_fields parameter-
report_status_fieldsThe report_status_fields parameter-

Ask Claude to help you work with Tpm API Key resources:

“Create a tpm-api-key named ‘example’ in the ‘production’ namespace”

“List all tpm-api-keys in the ‘production’ namespace”

“Get details of the tpm-api-key named ‘example’ in namespace ‘production‘“

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