change secret storage type