def get_options(self): options = super(LegacyAodhKeystoneLoader, self).get_options() options.extend([ ka_loading.Opt( 'os-username', default=os.environ.get('OS_USERNAME', 'aodh'), help='User name to use for OpenStack service access.'), ka_loading.Opt( 'os-password', secret=True, default=os.environ.get('OS_PASSWORD', 'admin'), help='Password to use for OpenStack service access.'), ka_loading.Opt( 'os-tenant-id', default=os.environ.get('OS_TENANT_ID', ''), help='Tenant ID to use for OpenStack service access.'), ka_loading.Opt( 'os-tenant-name', default=os.environ.get('OS_TENANT_NAME', 'admin'), help='Tenant name to use for OpenStack service access.'), ka_loading.Opt( 'os-auth-url', default=os.environ.get('OS_AUTH_URL', 'http://localhost:5000/v2.0'), help='Auth URL to use for OpenStack service access.'), ]) return options
def get_options(self): options = super(Password, self).get_options() options.extend([ loading.Opt('username', help='Username'), loading.Opt('password', help='Password'), ]) return options
def get_options(self): options = super(APIKey, self).get_options() options.extend([ loading.Opt('username', help='Username'), loading.Opt('api-key', dest='api_key', help='API Key'), ]) return options
def get_options(self): options = super(Token, self).get_options() options.extend([ loading.Opt('tenant-id', dest='tenant_id', help='Tenant ID'), loading.Opt('token', help='Token'), ]) return options
def get_options(self): options = super(V3Pf9SamlOkta, self).get_options() options.extend([ loading.Opt('username', help='Username'), loading.Opt('password', secret=True, help='Password') ]) return options
def get_options(self): options = super(OpenIDConnectPassword, self).get_options() options.extend([ loading.Opt('username', help='Username'), loading.Opt('password', secret=True, help='Password'), ]) return options
def get_options(self): options = super(FederatedBase, self).get_options() options.extend([ loading.Opt('identity-provider', help="Identity Provider's name"), loading.Opt('protocol', help='Protocol for federated plugin'), ]) return options
def _add_common_identity_options(options): options.extend([ loading.Opt('user-id', help='User ID'), loading.Opt('username', help='Username', deprecated=[loading.Opt('user-name')]), loading.Opt('user-domain-id', help="User's domain id"), loading.Opt('user-domain-name', help="User's domain name"), ])
def get_options(self): options = super(OpenIDConnectAuthorizationCode, self).get_options() options.extend([ loading.Opt('redirect-uri', help='OpenID Connect Redirect URL'), loading.Opt('authorization-code', help='OAuth 2.0 Authorization Code'), ]) return options
def get_options(self): options = super(BaseV2Loader, self).get_options() options.extend([ loading.Opt('tenant-id', help='Tenant ID'), loading.Opt('tenant-name', help='Tenant Name'), loading.Opt('trust-id', help='Trust ID'), ]) return options
def get_options(self): options = super(ADFSPassword, self).get_options() options.extend([ loading.Opt('service-provider-endpoint', help="Service Provider's Endpoint"), loading.Opt('username', help='Username'), loading.Opt('password', secret=True, help='Password') ]) return options
def get_options(self): options = super(OpenIDConnectPassword, self).get_options() options.extend([ loading.Opt('username', help='Username'), loading.Opt('password', help='Password'), loading.Opt('openid-scope', default="profile", help='OpenID Connect scope that is requested from OP') ]) return options
def get_options(self): options = super(OpenIDConnectMokeyAPIKey, self).get_options() options.extend([ loading.Opt('redirect-uri', required=True, help='OpenID Connect Redirect URL'), loading.Opt('api-key', required=True, secret=True, help='API Key') ]) return options
def get_options(self): options = super(AdminToken, self).get_options() options.extend([ loading.Opt('endpoint', help='The endpoint that will always be used'), loading.Opt('token', secret=True, help='The token that will always be used'), ]) return options
def get_options(self): options = super(Password, self).get_options() options.extend([ loading.Opt('username', deprecated=[loading.Opt('user-name')], help='Username to login with'), loading.Opt('user-id', help='User ID to login with'), loading.Opt('password', secret=True, help='Password to use'), ]) return options
def get_options(self): options = super(Saml2Password, self).get_options() options.extend([ loading.Opt('identity-provider-url', help=('An Identity Provider URL, where the SAML2 ' 'authentication request will be sent.')), loading.Opt('username', help='Username'), loading.Opt('password', secret=True, help='Password') ]) return options
def get_options(self): options = super(V3Pf9SamlOnelogin, self).get_options() options.extend([ loading.Opt('username', help='Username'), loading.Opt('password', secret=True, help='Password'), loading.Opt('onelogin-client-id', help='OneLogin API Client ID'), loading.Opt('onelogin-client-secret', secret=True, help='OneLogin API Client Secret'), ]) return options
def get_options(self): """Return the legacy options""" options = [ loading.Opt( 'url', help=_('Specific service endpoint to use'), ), loading.Opt( 'token', secret=True, help=_('Authentication token to use'), ), ] return options
def get_options(self): options = super(V3Pf9ADFSPassword, self).get_options() options.extend([ loading.Opt('service-provider-endpoint', help="Service Provider's Endpoint"), loading.Opt('service-provider-entity-id', help="Service Provider's SAML SP Entity ID"), loading.Opt('identity-provider-url', help=('An Identity Provider URL, where the SAML2 ' 'authentication request will be sent.')), loading.Opt('username', help='Username'), loading.Opt('password', secret=True, help='Password') ]) return options
def get_options(self): options = super(HTTPBasicAuth, self).get_options() options.extend([ loading.Opt('username', help='Username', deprecated=[loading.Opt('user-name')]), loading.Opt('password', secret=True, prompt='Password: '******'s password"), loading.Opt('endpoint', help='The endpoint that will always be used'), ]) return options
def get_options(self): options = super(Token, self).get_options() options.extend([ loading.Opt('token', help='Token to authenticate with'), ]) return options
def get_options(self): options = super(OpenIDConnectAccessToken, self).get_options() options.extend([ loading.Opt('access-token', secret=True, required=True, help='OAuth 2.0 Access Token'), ]) return options
def get_options(self): options = super(V3OAuth1, self).get_options() options.extend([ loading.Opt('consumer-key', required=True, help='OAuth Consumer ID/Key'), loading.Opt('consumer-secret', required=True, help='OAuth Consumer Secret'), loading.Opt('access-key', required=True, help='OAuth Access Key'), loading.Opt('access-secret', required=True, help='OAuth Access Secret'), ]) return options
def get_options(self): options = super(Token, self).get_options() options.extend([ loading.Opt('token', secret=True, help='Token'), ]) return options
def get_options(self): options = super(BaseIdentityLoader, self).get_options() options.extend([ loading.Opt('auth-url', required=True, help='Authentication URL'), ]) return options
def get_options(self): options = super(_OpenIDConnectBase, self).get_options() options.extend([ loading.Opt('client-id', help='OAuth 2.0 Client ID'), loading.Opt('client-secret', help='OAuth 2.0 Client Secret'), loading.Opt('access-token-endpoint', help='OpenID Connect Provider Token Endpoint'), loading.Opt('access-token-type', help='OAuth 2.0 Authorization Server Introspection ' 'token type, it is used to decide which type ' 'of token will be used when processing token ' 'introspection. Valid values are: ' '"access_token" or "id_token"'), ]) return options
def get_options(self): options = super(NoAuth, self).get_options() options.extend([ loading.Opt('endpoint', help='The endpoint that will always be used'), ]) return options
def get_options(self): options = super(TOTP, self).get_options() _add_common_identity_options(options) options.extend([ loading.Opt('passcode', secret=True, help="User's TOTP passcode"), ]) return options
def get_options(self): options = super(OpenIDConnectRefreshToken, self).get_options() options.extend([ loading.Opt('refresh_token', required=True, help='OAuth 2.0 Refresh Token') ]) return options
def get_options(self): options = super(Password, self).get_options() _add_common_identity_options(options) options.extend([ loading.Opt('password', secret=True, help="User's password"), ]) return options