Current File : //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 <