keystone.api.ec2tokens module

class keystone.api.ec2tokens.EC2TokensAPI(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]

Bases: keystone.server.flask.common.APIBase

resource_mapping = [resource_map(resource=<class 'keystone.api.ec2tokens.EC2TokensResource'>, url='/ec2tokens', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-EC2/1.0/rel/ec2tokens', status='stable', path_vars={}))]
resources = []
class keystone.api.ec2tokens.EC2TokensResource[source]

Bases: keystone.api._shared.EC2_S3_Resource.ResourceBase

methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'GET', 'POST'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

post()[source]

Authenticate ec2 token.

POST /v3/ec2tokens