These cannot be set this way, it doesn't work in a multi client environment. The credentials and secrets have to be passed in to the initialize method.