Current File : //usr/lib/python2.7/site-packages/euca2ools/commands/iam/updateopenidconnectproviderthumbprint.pyo |
�
��Xc @ sf d d l m Z d d l m Z d d l m Z m Z m Z d d l m Z d e f d � � YZ
d S( i����( t Arg( t ClientError( t
IAMRequestt
AS_ACCOUNTt util( t GetOpenIDConnectProvidert% UpdateOpenIDConnectProviderThumbprintc B sY e Z d Z e d d d d d �e d d d d d d
d d d d
�e g Z d � Z RS( sB
Replace an OpenID Connect provider's list of thumbprints
t OpenIDConnectProviderArnt metavart OIDCt helps, the ARN of the provider to update (required)s -ts --thumbprintt dests ThumbprintList.membert HEXt actiont appends3 the new SHA-1
thumbprint of the OpenID Connect provider's certificate. This
option may be specified more than once to allow multiple
certificates to be accepted. If one is not supplied this
command will attempt to determine it automatically.c C s� | j j d � s� t j | d | j j d � �} | j � j d � } | s] t d � � n d | k r{ d j | � } n t j | d | j �| j
d <n d S( Ns ThumbprintList.memberR t Urlsf unable to determine the provider's URL automatically; please specify a thumbprint with -t/--thumbprints ://s https://{0}t logs ThumbprintList.member.1( t argst getR t
from_othert mainR t formatR t get_cert_fingerprintR t params( t selft reqt url( ( s` /usr/lib/python2.7/site-packages/euca2ools/commands/iam/updateopenidconnectproviderthumbprint.pyt
preprocess1 s ( t __name__t
__module__t __doc__R R t ARGSR ( ( ( s` /usr/lib/python2.7/site-packages/euca2ools/commands/iam/updateopenidconnectproviderthumbprint.pyR "