async def METHOD_NAME(
    self,
    credential_definition: dict,
    credential_data: dict,
    credential_request_metadata: dict,
    credential_attr_mime_types=None,
    credential_id: str = None,
    rev_reg_def: dict = None,
):
    """Store a credential in the wallet.
    Args:
        credential_definition: Credential definition for this credential
        credential_data: Credential data generated by the issuer
        credential_request_metadata: credential request metadata generated
            by the issuer
        credential_attr_mime_types: dict mapping attribute names to (optional)
            MIME types to store as non-secret record, if specified
        credential_id: optionally override the stored credential id
        rev_reg_def: revocation registry definition in json
    Returns:
        the ID of the stored credential
    """