Authorize action
bycloud iam authorize create --principal <principal> --action <action> [flags]Evaluate if a principal is allowed to perform an action on a resource. Used by external services (e.g., console, S3/Ceph) to check permissions.
Options
--output
(-o)
stringoptionalOutput format: text, json, or yaml
Values: "text", "json", "yaml"
Default: "text"
Body Options
--action
stringrequiredAction in service:action format
--principal
stringrequiredCRN of the principal requesting access. Format: crn:<region>:<service>:<resource>:<identifier>
--resource
stringrequiredCRN of the resource being accessed. Format: crn:<region>:<service>:<resource>:<identifier>
--context
objectoptionalAdditional context for condition evaluation
Command
bycloud iam authorize create \--principal "value" \--action "value" \--resource "value"
Output
POLICY_ID POLICY_NAME STATEMENT_ID EFFECT550e8400-e29b-41d4-a716-446655 string string allow550e8400-e29b-41d4-a716-446655 string string allow