init,change store method of key/secret