changed key:secret to key: