fastlane-old / credentials_manager

Password Manager which is used in fastlane tools
https://fastlane.tools
35 stars 13 forks source link

Provide a CLI to be able to add a username/value manually #16

Closed czechboy0 closed 8 years ago

czechboy0 commented 9 years ago

Actually, #15 is not necessary. In order to get fastlane running properly in Xcode Server scripts, we just need a way to inject a username/password into the default keychain of _xcsbuildd user, as which we can easily log in.

So we just need something like

fastlane_credentials_manager add -u "honza@email.xyz" -p "SuperS3cret$$$"

Basically a shortcut for

ruby
require 'credentials_manager'
CredentialsManager::PasswordManager.shared_manager('honza@email.xyz')
[ASKS FOR PASSWORD IF NOT FOUND IN THE KEYCHAIN]
exit
KrauseFx commented 9 years ago

Looks good, go for it :+1:

KrauseFx commented 9 years ago

I like the idea to add a basic CLI for the credentialsmanager

czechboy0 commented 9 years ago

Started working on this, however there seems to be an issue where since I don't actually know _xcsbuildd's Keychain password, I can't unlock it to write into it. And when running an integration, it fails because it's not an interactive session, so there's no way to give it the password.

Just an update. I'll find a way.

asfalcone commented 8 years ago

This was addressed in #26 so I'm going to close this issue.

fastlanebot commented 8 years ago

This issue was migrated to https://github.com/fastlane/fastlane/issues/3322. 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 :rocket: