1EUARE-ROLEADDPOLICY(1) User Commands EUARE-ROLEADDPOLICY(1)
2
3
4
6 euare-roleaddpolicy - Add a new policy to a role. To add more complex
7 policies than this tool supports, see euare-roleuploadpolicy(1).
8
10 euare-roleaddpolicy -p POLICY -e {Allow,Deny} -a ACTIONS -c RESOURCES
11
12 [-o] [--as-account ACCOUNT] [-U URL]
13 [--region USER@REGION] [-I KEY_ID] [-S KEY] [--security-token
14 TOKEN] [--debug] [--debugger] [--version] [-h] ROLE
15
17 Add a new policy to a role. To add more complex policies than this
18 tool supports, see euare-roleuploadpolicy(1).
19
20 positional arguments:
21 ROLE role to attach the policy to (required)
22
23 optional arguments:
24 -p POLICY, --policy-name POLICY
25 name of the new policy (required)
26
27 -e {Allow,Deny}, --effect {Allow,Deny}
28 whether the new policy should Allow or Deny (required)
29
30 -a ACTIONS, --action ACTIONS
31 action(s) the policy should apply to (at least one required)
32
33 -c RESOURCES, --resource RESOURCES
34 resource(s) the policy should apply to (at least one required)
35
36 -o, --output
37 also display the newly-created policy
38
39 --as-account ACCOUNT
40 [Eucalyptus cloud admin only] run this command as the adminisā
41 trator of another account
42
43 -U URL, --url URL
44 identity service endpoint URL
45
46 --region USER@REGION
47 region and/or user names to search when looking up config file
48 data
49
50 -I KEY_ID, --access-key-id KEY_ID
51
52 -S KEY, --secret-key KEY
53
54 --security-token TOKEN
55
56 --debug
57 show debugging output
58
59 --debugger
60 launch interactive debugger on error
61
62 --version
63 show the program's version and exit
64
65 -h, --help
66 show this help message and exit
67
68
69
70euca2ools 3.4 December 2016 EUARE-ROLEADDPOLICY(1)