UNPKG

avp-cli

Version:

Small CLI to help interacts with the Amazon Verified Permissions (AVP) service.

70 lines (69 loc) 1.68 kB
{ "policyStoreId": "your-policy-store-id", "identityToken": "IDENTITY_TOKEN_HERE", "accessToken": "ACCESS_TOKEN_HERE", "entities": { "entityList": [ { "identifier": { "entityType": "Principal::Type", "entityId": "entity_id" }, "attributes": {}, "parents": [] }, { "identifier": { "entityType": "Resource::Type", "entityId": "entity_id" }, "attributes": {}, "parents": [] }, { "identifier": { "entityType": "Resource::Type", "entityId": "entity_id" }, "attributes": {}, "parents": [] } ] }, "requests": [ { "principal": { "entityType": "Principal::Type", "entityId": "entity_id" }, "action": { "actionType": "Action::Type", "actionId": "action_id" }, "resource": { "entityType": "Resource::Type", "entityId": "resource_id" }, "context": { "contextMap": {} } }, { "principal": { "entityType": "Principal::Type", "entityId": "entity_id" }, "action": { "actionType": "Action::Type", "actionId": "action_id" }, "resource": { "entityType": "Resource::Type", "entityId": "resource_id" }, "context": { "contextMap": {} } } ] }