Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding token for git / github #9

Open
jftuga opened this issue Jul 16, 2024 · 0 comments
Open

Adding token for git / github #9

jftuga opened this issue Jul 16, 2024 · 0 comments

Comments

@jftuga
Copy link

jftuga commented Jul 16, 2024

If you want to add a token so that the git push command works without asking you for a (token) password, then this is the command that needs to be run:

security add-internet-password -a GU_USER -s github.com -w github_pat_xxxxx -U -r 'htps' login.keychain

where GH_USER is your github username and github_pat_xxxxx is the github generate fined-grained token that has the read/write Contents permission.

Is there an easier way to accomplish this? If not, can you please add this functionality into the ks script? It would also be nice to be able to delete internet style passwords as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant