get alias name from keystore file 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