Skip to content

Get Policy Document

Low Risk

Operations on this resource are generally safe.

GetPolicyDocument API returns secret policy document for the given policy that contains information about all the rules in the policy and policy_id. This document can be given to F5 Distributed Cloud secret management tool to do secret encryption.

Tools

Tool Description
f5xc-api-blindfold-get-policy-document-get Policy Document.

Parameters

Path Parameters

Parameter Description Example
name Name -
namespace Namespace -

Example Usage

Ask Claude to help you work with Get Policy Document resources:

Get Get Policy Document Details

"Get details of the get-policy-document named 'example' in namespace 'production'"

CURL Examples

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

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