global and orm setting secret