keystone.api.role_inferences module

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

Bases: APIBase

resource_mapping = [(<class 'keystone.api.role_inferences.RoleInferencesResource'>, '/role_inferences', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/role_inferences', 'stable', {}))]
resources = []
class keystone.api.role_inferences.RoleInferencesResource[source]

Bases: Resource

get()[source]

List role inference rules.

GET/HEAD /v3/role_inferences

methods: t.ClassVar[t.Collection[str] | None] = {'GET'}

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