Generate or Update Authorization Key