how to get key alias from keystore code example
Example 1: get alias name from jks file
keytool -v -list -keystore .keystore
Example 2: get alias name from jks file
keytool -list -keystore .keystore -alias foo
keytool -v -list -keystore .keystore
keytool -list -keystore .keystore -alias foo