/usr/lib/python2.6/site-packages/openstackclient/identity/v3
Edit: /usr/lib/python2.6/site-packages/openstackclient/identity/v3/ec2creds.pyc (7275B)
Ñò
;vVc @ sï d Z d d k Z d d k Z d d k l Z d d k l Z d d k l Z d d k l Z d d k l
Z
d d k l Z d „ Z
d
e i f d „ ƒ YZ d e i f d
„ ƒ YZ d e i f d „ ƒ YZ d e i f d „ ƒ YZ d S( s2 Identity v3 EC2 Credentials action implementationsiÿÿÿÿN( t command( t lister( t show( t utils( t _( t commonc C s d } | i o t i | i | i ƒ } n | i oZ | d j o+ t i | i i | i d | i ƒi } qœ t i | i i | i ƒ i } n
| i
i } | S( s Determine a user several different ways.
Assumes parsed_args has user and user_domain arguments. Attempts to find
the user if domain scoping is provided, otherwise revert to a basic user
call. Lastly use the currently authenticated user.
t domain_idN( t Nonet user_domainR t find_domaint identityt userR t
find_resourcet userst idt auth_reft user_id( t parsed_argst client_managerR R ( ( sT /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/identity/v3/ec2creds.pyt _determine_ec2_user s
t CreateEC2Credsc B sB e Z d Z e i e d ƒ Z d „ Z e i e ƒ d „ ƒ Z RS( s Create EC2 credentialss .CreateEC2Credsc C st t t | ƒ i | ƒ } | i d d d d t d ƒ ƒ| i d d d d t d ƒ ƒt i | ƒ t i | ƒ | S( Ns --projectt metavars
t helpsR Create credentials in project (name or ID; default: current authenticated project)s --users sM Create credentials for user (name or ID; default: current authenticated user)( t superR t
get_parsert add_argumentR R t add_user_domain_option_to_parsert# add_project_domain_option_to_parser( t selft prog_namet parser( ( sT /tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/identity/v3/ec2creds.pyR <