I am trying to use the @keychain with the -p switch in altool to download my iTunes Connect password from a keychain:
altool --validate-app -f "${IPA}" -u "redacted" -p "@keychain:?????"
I am trying to figure out what I need to enter after @keychain: Everything I try (path to keychain file, name of keychain entry, username in keychain entry) throws the following error:
*** Error: the specified item was not found in the keychain.
altool contains the following information about the -p option:
-p, --password Password. Required if username specified. Password is read from stdin if one is not supplied. May use @keychain: or @env: prefixes followed by the keychain or environment variable lookup name. eg -p @env:SECRET which would use the value in the SECRET environment variable.
source share