ó ¡ôXc@sbddlmZddlmZddlZddlmZmZmZdefd„ƒYZ dS(iÿÿÿÿ(tArg(t ArgumentErrorN(t IAMRequestt AS_ACCOUNTtutiltCreateOpenIDConnectProviderc BseZdZedddddƒedddd dd d d dd ƒeddddddd d ddƒegZd„Zd„Zd„ZRS(s. Create a new OpenID Connect provider tUrltmetavartURLthelps'the URL for the new provider (required)s-cs --client-idtdestsClientIdList.membertCLIENTtactiontappends.a client ID, or audience, for the new providers-ts --thumbprintsThumbprintList.membertHEXsàthe SHA-1 thumbprint of the new OpenID Connect provider's certificate. If one is not supplied this command will attempt to connect to the server to determine it automatically.cCsqtj|ƒtjjjj|jjdƒp1dƒ}|j dkrUt dƒ‚n|j smt dƒ‚ndS(NRtthttpssURL must begin with "https://"s"URL must name a host to connect to( Rt configuretsixtmovesturllibtparseturlparsetargstgettschemeRtnetloc(tselftparsed((sV/usr/lib/python2.7/site-packages/euca2ools/commands/iam/createopenidconnectprovider.pyR2s  * cCs?|jjdƒs;tj|jdd|jƒ|jds