Credentials manager is successfully finding the keychain record, but is still prompting for password
andrewpage opened this issue · comments
I have added my credentials to the keychain under the deliver.
hostname, and CredentialsManager seems to be able to successfully locate the record (as I am no longer being prompted for the username, and it prompts me with "Password (for my email here):"). I have also used the Security
library with the same method call that CredentialsManager uses, and I've been able to find the record (and it does contain my password).
However, CredentialsManager is still prompting me for my password. How do I get around this?
Thank you
Hey @andrewpage,
Once the account information is stored in the keychain, you should never be asked for your password again.
The password will be taken either from the environment variable DELIVER_PASSWORD
or is loaded from the keychain: password_manager#L37.
Only if either the username or the password is empty, you'll get asked for the missing information.
The new entry in the Keychain should have the name deliver.[email_address]
. When I first started with deliver
, I didn't know I'd start fastlane
, that's why deliver
is still contained in the hostname.
If you share a screenshot of your Keychain item I can probably help you to determine why you're asked about your password every time.
Hope that helps 👍
@andrewpage What was causing the issue? Did you get everything resolved?
This issue was migrated to fastlane/fastlane#3324. Please post all further comments there.
fastlane
is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀