Keystore external functionality