Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/iam/createaccount.pyc
ó
¡ôXc @ s™ d d l Z d d l Z d d l m Z d d l Z d d l m Z d d l Z d d l m
Z
m Z d d l m
Z
d Z d e
e f d „ ƒ YZ d S( iÿÿÿÿN( t Arg( t TabifyingMixin( t
IAMRequestt arg_account_name( t CreateAccessKeys, /usr/sbin/clcadmin-assume-system-credentialst
CreateAccountc
B s³ e Z d Z e d d d d ƒ e d d d d d d d d
ƒe d d d d d d d d
ƒe d d d d d d ƒe d d d d d d d d ƒg Z d „ Z d „ Z d „ Z RS( s2 [Eucalyptus cloud admin only] Create a new accountt nargst ?t helpsg also add an alias (name) to the
new account (required on eucalyptus < 4.2)s -ks --create-accesskeyt actiont
store_truet route_tosY also create an access key for the new account's
administrator and show its -ws --write-configs¤ output access keys and region information in the
form of a euca2ools.ini(5) configuration file instead of
by themselves (implies -k)s -ds --domains… the DNS domain to
use for region information in configuration file output
(default: based on IAM URL)s -ls --set-default-users® set this user as the default user for the region
in euca2ools.ini(5) configuration file output. This
option is only useful when used with -w.c C s¤ y t j | ƒ WnŒ t j j k
rŸ } t j j t ƒ r™ t | j
ƒ d k r™ t | j
d t j
ƒ r™ d } | j | j
d ƒ f | j
d | _
n ‚ n Xd S( Ni s {0}. If a cloud controller is running, you can assume administrator credentials with eval `clcadmin-assume-system-credentials`i ( R t configuret requestbuildert
exceptionst AuthErrort ost patht existst CLC_CRED_CHECK_FILEt lent argst
isinstancet sixt string_typest format( t selft errt msg( ( sH /usr/lib/python2.7/site-packages/euca2ools/commands/iam/createaccount.pyR <