Advertisement
fkeles

update-policy.sh

May 10th, 2023
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.76 KB | Source Code | 0 0
  1. oci iam policy update --policy-id ocid1.policy.oc1..<unique-policy-id> --statements '["existing statement 1","existing statement 2","existing statement 3","existing statement 4","existing statement 5","Allow dynamic-group RunCommandDynamicGroup to use instance-agent-command-execution-family in tenancy","Allow dynamic-group RunCommandDynamicGroup to read objects in tenancy","Allow dynamic-group RunCommandDynamicGroup to manage objects in tenancy"]' --version-date ''
  2. WARNING: The value passed to statements will overwrite all existing statements for this policy. The existing statements are:
  3. [
  4.   "existing statement 1",
  5.   "existing statement 2",
  6.   "existing statement 3",
  7.   "existing statement 4",
  8.   "existing statement 5"
  9. ]
  10. Are you sure you want to continue? [y/N]: y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement