iam_profile_faker package

Submodules

iam_profile_faker.cli module

Console script for iam_profile_faker.

iam_profile_faker.factory module

class iam_profile_faker.factory.IAMFaker(locale=None, hierarchy=None)[source]

Bases: object

access_information()[source]

Profile v2 access information faker.

create()[source]

Method to generate fake profile v2 objects.

get_public_email_address()[source]
hris()[source]

Profile v2 HRIS faker

identities()[source]

Profile v2 identities faker.

languages(**kwargs)[source]
login_method(**kwargs)[source]
metadata(display=['public', 'authenticated', 'vouched', 'ndaed', 'staff', 'private'], c12n='WORKGROUP CONFIDENTIAL')[source]

Generate field metadata

office_location()[source]

Profile v2 office location faker.

pgp_public_keys(**kwargs)[source]
phone_numbers(**kwargs)[source]
pronouns(**kwargs)[source]
schema()[source]

Profile v2 schema faker.

signature()[source]

Generate field signature

ssh_public_keys(**kwargs)[source]
staff_information(hris)[source]

Profile v2 staff information faker

uris(**kwargs)[source]
user_id(**kwargs)[source]
usernames(**kwargs)[source]
class iam_profile_faker.factory.V2ProfileFactory[source]

Bases: object

create(export_json=False)[source]

Generate fake profile v2 object.

create_batch(count, export_json=False)[source]

Generate batch fake profile v2 objects.

iam_profile_faker.factory.create_random_hierarchy_iter()[source]

Generate hierarchy iterator with a random pattern

iam_profile_faker.factory.decorate_metadata_signature(display=['public', 'authenticated', 'vouched', 'ndaed', 'staff', 'private'], c12n='WORKGROUP CONFIDENTIAL')[source]
iam_profile_faker.factory.wrap_metadata_signature(obj, value, display=['public', 'authenticated', 'vouched', 'ndaed', 'staff', 'private'], c12n='WORKGROUP CONFIDENTIAL')[source]

Wrap profile value with metadata/signature

Module contents

Top-level package for iam-profile-faker.