def cred_attr_value(raw: Any) -> dict:
return {'<STR_LIT>': '<STR_LIT>' if raw is None else str(raw), '<STR_LIT>': encode(raw)}<EOL>
Given a value, return corresponding credential attribute value dict for indy-sdk processing.

:param raw: raw attribute value of any stringifiable type
:return: dict on 'raw' and 'encoded' keys for indy-sdk processing