import base64
import json


def tenant_header_info(acct_no):
    """Return a dict containing Account No. and it's b64 Identity header."""
    rh_identity = dict(identity=dict(account_number=acct_no))
    b64_identity = base64.b64encode(json.dumps(rh_identity).encode())
    return {'acct_no': acct_no, 'headers': {'x-rh-identity': b64_identity}}