Scroll to navigation

EUARE-USERUPLOADPOLICY(1) User Commands EUARE-USERUPLOADPOLICY(1)

NAME

euare-useruploadpolicy - Attach a policy to a user

SYNOPSIS

euare-useruploadpolicy -u USER -p POLICY (-o POLICY_CONTENT | -f FILE) [--as-account ACCOUNT] [--region USER@REGION | -U URL] [-I KEY_ID] [-S KEY] [--debug] [--debugger] [--version] [-h]

DESCRIPTION

Attach a policy to a user

optional arguments:

-u USER, --user-name USER
user to attach the policy to (required)
-p POLICY, --policy-name POLICY
name of the policy (required)
-o POLICY_CONTENT, --policy-content POLICY_CONTENT
the policy to attach
-f FILE, --policy-document FILE
file containing the policy to attach
--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
August 2013 euca2ools 3.0.1