move secKey to params