add secret to params