Mac OSX Script to periodically delete your cached credentials in the OSX Certificate Store
This script will periodically clean your AWS CodeCommit credentials.
Refer to http://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-https-unixes.html
Look especially at step 3.3 - This script will automate the process of removing the cached credentials resulting in your authentication failing.
More information regarding Apple Script: https://developer.apple.com/library/mac/documentation/AppleScript/Conceptual/AppleScriptLangGuide/introduction/ASLR_intro.html
Note: The package still needs testing - it might not work right now...
- Clone this project on your Mac
- Navigate to the directory using the OSX Finder application
- Double click the
dist
directory - Double click the
AWS CodeCommit Git Password Delete.pkg
and install - Start the application using the Launchpad
Once the application starts, you can only stop it via the Activity Monitor.
-
Clone this project on your Mac
-
Run the following in a Terminal:
$ cp -vf AWS-CodeCommit-Git-Password-Delete.scpt ~/Library/Scripts/
-
Open the Apple's "Script Editor" application
-
Open the Script Editor Preferences
-
Ensure that "Show Script menu in menu bar" is selected (you should see the icon in the menu bar)
-
Click the script menu icon in the menu bar - you should see the
AWS-CodeCommit-Git-Password-Delete
script at the bottom -
Click the
AWS-CodeCommit-Git-Password-Delete
to start the application -
You should see a turning gear in the menu bar indicating that the script is running
Application created using platypus
Packaged with Packages