Using secondary id as foreign key to other table
It's not complicated to do.  You need to create the Reference ID as an alternate key in the Customer table with a unique constraint.  Then you can use Reference ID as a foreign key to the Configuration table.  I generally try to avoid this however as it can get confusing and harder to maintain the data model.