Created
May 5, 2022 22:23
-
-
Save omarzl/b0f10cde4b7aead23255eec9a0e0b13a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RAPPI_KEYCHAIN=$HOME/Library/Keychains/rappi.keychain-db | |
# Keychain creation | |
security -v create-keychain -p $KEYCHAIN_PWD $RAPPI_KEYCHAIN | |
# Sets the new keychain as the default one | |
security -v default-keychain -s $RAPPI_KEYCHAIN | |
# Allows Apple tools and codesign command to use the keychain | |
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $KEYCHAIN_PWD $RAPPI_KEYCHAIN | |
# Unlocks the keychain | |
security -v unlock-keychain -p $KEYCHAIN_PWD $RAPPI_KEYCHAIN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment