《汉书·传·霍光金日磾传》
后来霍氏谋反，金安上传令关闭宫门，不要放霍氏亲属进去，又被封为都成侯，后升到建章卫尉。
后霍氏反，安上传禁门闼，无内霍氏亲属，封为都成侯，至建章卫尉。
Later, when the Huo clan rebelled, Jin Anshang gave an order to close the palace gate and not let the Huo clan relatives in. He was named the Marquis of Ducheng and later promoted to the Wei of Jianzhang.