EUARE-USERADDPOLICY

Section: User Commands (1)
Updated: August 2013
Index Return to Main Contents
 

NAME

euare-useraddpolicy - Add a new policy to a user. To add more complex policies than this tool supports, see euare-useruploadpolicy.  

SYNOPSIS

euare-useraddpolicy -u USER -p POLICY -e {Allow,Deny} -a ACTION -r RESOURCE [-o] [--as-account ACCOUNT] [--region USER@REGION | -U URL] [-I KEY_ID] [-S KEY] [--debug] [--debugger] [--version] [-h]  

DESCRIPTION

Add a new policy to a user. To add more complex policies than this tool supports, see euare-useruploadpolicy.  

optional arguments:

-u USER, --user-name USER
user to attach the policy to (required)
-p POLICY, --policy-name POLICY
name of the new policy (required)
-e {Allow,Deny}, --effect {Allow,Deny}
whether the new policy should Allow or Deny (required)
-a ACTION, --action ACTION
action the policy should apply to (required)
-r RESOURCE, --resource RESOURCE
resource the policy should apply to (required)
-o, --output
display the newly-created policy
--as-account ACCOUNT
[Eucalyptus cloud admin only] run this command as the administrator of another account
--region USER@REGION
name of the region and/or user in config files to use to connect to the service
-U URL, --url URL
identity service endpoint URL
-I KEY_ID, --access-key-id KEY_ID
-S KEY, --secret-key KEY
--debug
show debugging output
--debugger
launch interactive debugger on error
--version
show the program's version and exit
-h, --help
show this help message and exit


 

Index

NAME
SYNOPSIS
DESCRIPTION
optional arguments: