def METHOD_NAME(self):
    default_keychain_class = (
        self.project_config.cumulusci__keychain
        if self.project_config is not None
        else self.universal_config.cumulusci__keychain
    )
    keychain_class = os.environ.get(
        "CUMULUSCI_KEYCHAIN_CLASS", default_keychain_class
    )
    if keychain_class:
        return import_global(keychain_class)