​
Select Service
ves-io-schema-voltshare-CustomAPI-ProcessPolicyInformation
Published April 5, 2023 | Last modified June 26, 2025
Examples of performing voltshare CustomAPI ProcessPolicyInformation
Usecase:
Process Policy Information
Request:
Request using vesctl:
vesctl request rpc voltshare.CustomAPI.ProcessPolicyInformation -i request.yaml --uri /public/namespaces/system/voltshare/process_policy_information --http-method POST
where file request.yaml has following contents:
policy:
allowedUsers:
- email: test-user2@customer1.com
tenant: customer1
- email: test-user1@customer2.com
tenant: customer2
expirationTimestamp: "2025-07-03T23:54:40.314031Z"
secretName: test-secret
Copied!
vesctl yaml response:
policyDocument:
author:
email: test-user@customer1.com
tenant: customer1
blindfoldKeyVersion: 1
creationTime: "2025-06-26T23:57:17.743722Z"
policy:
allowedUsers:
- email: test-user2@customer1.com
tenant: customer1
- email: test-user1@customer2.com
tenant: customer2
expirationTimestamp: "2025-07-03T23:54:40.314031Z"
policyId: "24"
secretName: test-secret
Copied!
Request using curl:
curl -X 'POST' -d '{"secret_name":"test-secret","policy":{"allowed_users":[{"email":"test-user2@customer1.com","tenant":"customer1"},{"email":"test-user1@customer2.com","tenant":"customer2"}],"expiration_timestamp":"2025-07-03T23:54:40.314031Z"}}' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_q2_3kp8z3zs0x5_m7pk1bgb0_ph0000gp_T_go-build336959812_b001_apidocs.test/host=MTY6VVHQPH/svc=S:examplesvc/site=mytestce01' 'https://acmecorp.console.ves.volterra.io/api/secret_management/namespaces/system/voltshare/process_policy_information'
Copied!
curl response:
HTTP/1.1 200 OK
Content-Length: 636
Content-Type: application/json
Date: Thu, 26 Jun 2025 23:57:17 GMT
Vary: Accept-Encoding
{
"policy_document": {
"author": {
"email": "test-user@customer1.com",
"tenant": "customer1"
},
"policy_id": "24",
"secret_name": "test-secret",
"blindfold_key_version": 1,
"creation_time": "2025-06-26T23:57:17.743722Z",
"policy": {
"allowed_users": [
{
"email": "test-user2@customer1.com",
"tenant": "customer1"
},
{
"email": "test-user1@customer2.com",
"tenant": "customer2"
}
],
"expiration_timestamp": "2025-07-03T23:54:40.314031Z"
}
},
"policy_document_hmac_base64": "",
"public_key": ""
}
Copied!