​
Select Service
ves-io-schema-voltshare-CustomAPI-ProcessPolicyInformation
Published April 5, 2023 | Last modified September 23, 2026
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: "2026-06-26T22:02:10.748652Z"secretName: test-secretvesctl yaml response:
policyDocument: author: email: test-user@customer1.com tenant: customer1 blindfoldKeyVersion: 1 creationTime: "2026-06-19T22:16:38.472324Z" policy: allowedUsers: - email: test-user2@customer1.com tenant: customer1 - email: test-user1@customer2.com tenant: customer2 expirationTimestamp: "2026-06-26T22:02:10.748652Z" policyId: "24" secretName: test-secretRequest 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":"2026-06-26T22:02:10.748652Z"}}' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_var_folders_q2_3kp8z3zs0x5_m7pk1bgb0_ph0000gp_T_go-build1655461974_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'curl response:
HTTP/1.1 200 OKContent-Length: 636Content-Type: application/jsonDate: Fri, 19 Jun 2026 22:16:38 GMTVary: 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": "2026-06-19T22:16:38.472324Z", "policy": { "allowed_users": [ { "email": "test-user2@customer1.com", "tenant": "customer1" }, { "email": "test-user1@customer2.com", "tenant": "customer2" } ], "expiration_timestamp": "2026-06-26T22:02:10.748652Z" } }, "policy_document_hmac_base64": "", "public_key": ""}