keystone.api.ec2tokens module

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: 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: 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

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.