NAME¶
euca2ools - Authorize a rule for a security group.
DESCRIPTION¶
Authorize a rule for a security group.
euca-authorize [-A,
--access-key <access_key> ][-S,
--secret-key <secret_key>
- ][--config <config_path> ][--debug][--debugger][-h,
--help][--region <region_name> ][-U, --url <url>
][--version ][--euca-auth][-P, --protocol <protocol> ][-p,
--port-range <port_range> ][-t, --icmp-type-code
<icmp_type_code> ][-o, --source-group <source_group>
][-u, --source-group-user <source_group_user> ][-s,
--source-subnet <source_subnet> ] group_name
REQUIRED PARAMETERS
- group_name
- Name of the group to add the rule to.
OPTIONAL PARAMETERS
- -A,--access-key
- User's Access Key ID.
- -S,--secret-key
- User's Secret Key.
- --config
- Read credentials and cloud settings from the specified
config file (defaults to $HOME/.eucarc or /etc/euca2ools/eucarc).
- --debug
- Turn on debugging output.
- --debugger
- Enable interactive debugger on error
- -h,--help
- Display this help message.
- --region
- region to direct requests to
- -U,--url
- URL of the Cloud to connect to.
- --version
- Display the version of this tool.
- --euca-auth
- Use NC authentication mode
- -P,--protocol
- The protocol. Valid Values: tcp|udp|icmp|6|17|1
- -p,--port-range
- Range of ports for the rule (specified as
"from-to").
- -t,--icmp-type-code
- ICMP type and code specified as "type:code"
- -o,--source-group
- Group from which traffic is authorized by the rule.
- -u,--source-group-user
- User ID for the source group.
- -s,--source-subnet
- The source subnet for the rule. Defaults to 0.0.0.0/0.