macOS - Security Tools

  1. Security terminal tool
    1. https://ss64.com/mac/security.html
    2. https://www.netmeister.org/blog/keychain-passwords.html
    3. To add a password to the security tool
      $ security add-generic-password -a ${USER} -s playground -w <the-password-that-needs-to-be-saved>
      
    4. Alternatively, you can also let security(1) prompt you interactively for the password, by leaving out the last argument to the ‘-w’ flag:
      $ security add-generic-password -a ${USER} -s playground -w
      password data for new item:
      retype password for new item:
      $
      
  2. https://www.huntress.com/blog/built-in-macos-security-tools

Links to this note