In my opinion and humble experience the most secure in a DBMS is to perform (previously open the "keycodes" on a notepad and copy the line that includes: arcsdeserver):
UPDATE
SET SDE.SERVER_CONFIG CHAR_PROP_VALUE = 'arcsdeserver,10x,ecp####,.....,....,....,.' WHERE prop_name = 'AUTH_KEY';