verifiedpermissions_is_authorized: Makes an authorization decision about a service request...

View source: R/verifiedpermissions_operations.R

verifiedpermissions_is_authorizedR Documentation

Makes an authorization decision about a service request described in the parameters

Description

Makes an authorization decision about a service request described in the parameters. The information in the parameters can also define additional context that Verified Permissions can include in the evaluation. The request is evaluated against all matching policies in the specified policy store. The result of the decision is either Allow or Deny, along with a list of the policies that resulted in the decision.

See https://www.paws-r-sdk.com/docs/verifiedpermissions_is_authorized/ for full documentation.

Usage

verifiedpermissions_is_authorized(
  policyStoreId,
  principal = NULL,
  action = NULL,
  resource = NULL,
  context = NULL,
  entities = NULL
)

Arguments

policyStoreId

[required] Specifies the ID of the policy store. Policies in this policy store will be used to make an authorization decision for the input.

principal

Specifies the principal for which the authorization decision is to be made.

action

Specifies the requested action to be authorized. For example, is the principal authorized to perform this action on the resource?

resource

Specifies the resource for which the authorization decision is to be made.

context

Specifies additional context that can be used to make more granular authorization decisions.

entities

Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies.

You can include only principal and resource entities in this parameter; you can't include actions. You must specify actions in the schema.


paws.security.identity documentation built on Sept. 12, 2024, 6:30 a.m.