set_api_key function

Manually set access credentials