fw_keyload function

For loading the API key from the environment.