- Home
- API MCP Server
- tools
- blindfold
- Get Policy Document
Get Policy Document
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.
| Tool | Description |
|---|---|
f5xc-api-blindfold-get-policy-document-get | Policy Document. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
name | Name | - |
namespace | Namespace | - |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Get Policy Document resources:
Get Get Policy Document Details
Section titled “Get Get Policy Document Details”“Get details of the get-policy-document named ‘example’ in namespace ‘production‘“
CURL Examples
Section titled “CURL Examples”# List resourcescurl -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 resourcecurl -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 resourcecurl -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 resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/get_policy_documents/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"