with keystore