keystone.identity.generator module

ID Generator provider interface.

class keystone.identity.generator.IDGenerator[source]

Bases: object

Interface description for an ID Generator provider.

abstract generate_public_ID(mapping)[source]

Return a Public ID for the given mapping dict.

Parameters

mapping (dict) – The items to be hashed.

The ID must be reproducible and no more than 64 chars in length. The ID generated should be independent of the order of the items in the mapping dict.

class keystone.identity.generator.Manager[source]

Bases: keystone.common.manager.Manager

Default pivot point for the identifier generator backend.

driver_namespace = 'keystone.identity.id_generator'