NAME¶
euca2ools - Add a new policy to a user
SYNOPSIS¶
euare-useraddpolicy [
options]
DESCRIPTION¶
Add a new policy to a user
OPTIONS¶
- -h, --help
- show this help message and exit
- -u USER_NAME,
--user-name=USER_NAME
- Name of the user to associate the policy with.
- -p POLICY_NAME,
--policy-name=POLICY_NAME
- Name of the policy document.
- -e EFFECT, --effect=EFFECT
- The value for the policy's Effect element.
- -a ACTION, --action=ACTION
- The value for the policy's Action element
- -r RESOURCE, --resource=RESOURCE
- The value for the policy's Resource element.
- -o, --output
- Causes the output to include the JSON policy document
created for you
- Standard Options:
- -D, --debug
- Turn on all debugging output
- --debugger
- Enable interactive debugger on error
- -U URL, --url=URL
- Override service URL with value provided
- --region=REGION
- Name of the region to connect to
- -I ACCESS_KEY_ID,
--access-key-id=ACCESS_KEY_ID
- Override access key value
- -S SECRET_KEY,
--secret-key=SECRET_KEY
- Override secret key value
- --version
- Display version string