Authorising external systems
See System identities to set up authentication for an external system. Every service identity has its own name. Cedar policies grant access to the service account by its name.
For example, suppose a website backend submits orders to a
process. Give it a service-account identity named web-order. In
Cedar, that identity is PF::ServiceAccount::"web-order".
Grant access with Cedar
Section titled “Grant access with Cedar”Suppose the order process exposes the GraphQL mutation startNewOrder and
starts with the step /new-order/Capture order. This policy permits the
website to start the process:
permit ( principal == PF::ServiceAccount::"web-order", action == PF::Action::"complete", resource == PF::Step::"/new-order/Capture order")when { resource.startsProcess};