-To authorize the geodatabase when it is being created, specify the authorization file location when you run either the Create Enterprise Geodatabase or Enable Enterprise Geodatabase geoprocessing tool or Python script.
-If you already created your geodatabase and need to reauthorize it, run the sdesetup command with the update_key operation.