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 = [(<class 'keystone.api.ec2tokens.EC2TokensResource'>, '/ec2tokens', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/ext/OS-EC2/1.0/rel/ec2tokens', 'stable', {}))]
resources = []
class keystone.api.ec2tokens.EC2TokensResource[source]

Bases: ResourceBase

methods: t.ClassVar[t.Collection[str] | None] = {'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