keystoneauth1.fixture.hooks module

Custom hooks for betamax and keystoneauth.

Module providing a set of hooks specially designed for interacting with clouds and keystone authentication.

author:

Yolanda Robla

keystoneauth1.fixture.hooks.mask_fixture_values(nested: dict[str, Any], prev_key: str | None) None
keystoneauth1.fixture.hooks.pre_record_hook(interaction: Interaction, cassette: Cassette) None

Hook to mask saved data.

This hook will be triggered before saving the interaction, and will perform two tasks: - mask user, project and password in the saved data - set token expiration time to an inifinite time.