def _update_secrets(self):
bot.debug('<STR_LIT>')<EOL>try:<EOL><INDENT>from awscli.clidriver import create_clidriver<EOL><DEDENT>except:<EOL><INDENT>bot.exit('<STR_LIT>')<EOL><DEDENT>driver = create_clidriver()<EOL>self.aws = driver.session.create_client('<STR_LIT>')<EOL>
update secrets will take a secrets credential file
           either located at .sregistry or the environment variable
           SREGISTRY_CLIENT_SECRETS and update the current client 
           secrets as well as the associated API base. For the case of
           using Docker Hub, if we find a .docker secrets file, we update
           from there.