EUARE-GROUPADDPOLICY(1)

NAME
euare-groupaddpolicy - Add a new policy to a group. To add more complex policies than this tool supports, see euare-groupuploadpolicy.

SYNOPSIS
euare-groupaddpolicy -g GROUP -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 group. To add more complex policies than this tool supports, see euare-groupuploadpolicy.

  optional arguments:

-g GROUP, --group-name GROUP
    group 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