set key and secret use providers