Access security key

I was wondering if anyone know knows how to get access to the security code to program a new key using VCDS? I know that this has been done, but I can’t seem to figure out the steps.