credentials destroyed - apiKey fix