@Syphurith Really appreciate this comment. I was able to get the masterkey using the following commands.
ctrtool --content=Partition "[cver_region_specific_title].cia"
ctrtool -x --romfsdir=romfs_ext "Partition.NNNN.NNNNNNNN"
I'm new to the scene and looking to write some code to automate this...