Collapse AllExpand All

euare-useruploadpolicy

Uploads a policy for a user.

Syntax

euare-useruploadpolicy -u user_name -p policy_name 
     		[-o policy_content] [-f policy_document]

Options

Option Description Required
-u, --user-name user_name Name of the user Yes
-p, --policy-name policy_name Name of the policy document to upload Yes
-o, --policy-content policy_content The policy document content. No
-f, --policy-document policy_document The policy document file. No

Common Options

Option Description
--region=region Region to direct requests to.
-U url,--url=url Override service URL with this value
-I access_key_id, --access-key=access_key_id Override configured access key ID with this value
-S secret_key, --secret-key=secret_key Override configured secret key with this value
-D, --debug Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools.
--debugger Enable interactive debugger on error
--as-account account This Eucalyptus extension is for use by the system administrator to act as the account administrator of the specified account without changing to account admininstrator's role.
-h,--help Display the manual page for the command.
--version Display the version of this tool

Output

Eucalyptus does not return any message.

Example

euare-useruploadpolicy -u myuser -p mypolicy -f mypolicy.json