Apple Keychainは、Webサイト、アプリケーション、およびワイヤレスネットワークのログイン情報をMac上で安全に保つという素晴らしい仕事をします。iCloudを介してデータを同期することにより、 (syncing data over iCloud)Appleデバイス間でシームレスなパスワードの自動入力を可能にします。
ただし、Macを使い続けると、デフォルトのログインキーチェーンからパスワードを削除する必要がある場合があります。キーチェーンをリセットして、場合によっては最初からやり直す必要がある場合もあります。

macOSでキーチェーンパスワード(Your Keychain Passwords)を削除したい場合
始める前に、 Mac(Mac)のログインキーチェーン内の個々のパスワードまたはすべてのパスワードを削除する必要がある特定のシナリオを実行することをお勧めします。
パスワードの保存または自動入力に問題があります(You Have Trouble Saving or Auto-Filling Passwords)
パスワードを保存または自動入力している間、キーチェーン(Keychain)で問題が発生し続けます。問題のあるログインエントリを検索して削除する(deleting the offending login entries)と、役立つ場合があります。ただし、問題が常に発生する場合は、デフォルトのキーチェーンをリセットする必要があります。
Macを他の人に譲りたい(You Want to Hand Over Your Mac to Someone Else)
Macを他の人に長期間渡したい。別のユーザーアカウントを作成することが問題外の場合、パスワードを削除するとプライバシーが保護され、Webサイトやアプリへのアクセスが防止されます。
注: (Note)Macの販売をお考えですか?代わりに、macOSデバイスを工場出荷時のデフォルトにリセット(reset your macOS device to factory defaults)する必要があります。
ログインキーチェーンのパスワードを忘れた(You’ve Forgotten the Password to the Login Keychain)
デフォルトでは、ログインキーチェーンはMacの管理者パスワードを使用してコンテンツを暗号化します。そのため、Macアカウントを(reset your Mac account with a new password)忘れて新しいパスワードでリセットすると、古いパスワードを覚えていない限り、現在のログインキーチェーンにアクセスしたり使用したりできなくなります。キーチェーンを完全にリセットすることが、パスワードの保存を再開する唯一の方法です。
別のパスワードマネージャーに切り替えました(You’ve Switched to a Different Password Manager)
Keychainを(Keychain)Macに統合すると便利ですが、 1Password、LastPass、Dashlane(1Password, LastPass, or Dashlane)などの代替のクロスプラットフォームパスワード管理ユーティリティを使用することをお勧めします。切り替え後、パスワードを複数の場所に保持したくない場合は、ログインキーチェーンをリセットしてください。
オプション:iCloudキーチェーンを無効にする
iCloud経由でパスワードを同期するようにキーチェーン(Keychain)を設定している場合は、開始する前にiCloudキーチェーン(Keychain)を無効にすることをお勧めします。そうでない場合は、macOSでパスワードを削除すると、所有している他のApple(Apple)デバイスからパスワードが自動的に削除されます。
1.システム環境設定(System Preferences)アプリを開きます。Dockで見つからない場合は、 Appleメニューを開き、 [システム環境設定(System Preferences)]を選択します。

2.AppleID(Apple ID)を選択します。

3.サイドバーでiCloudを選択します。次に、[キーチェーン](Keychain)の横にあるチェックボックスをオフにします。

SafariPasswordsManagerを使用してWebサイトのパスワードを削除する(Delete Website Passwords Using Safari Passwords Manager)
ウェブサイトのパスワードのみを削除したい場合、それを行う最も便利な方法は、Safariの統合されたパスワード(Passwords)マネージャーを使用することです。また、これを使用してパスワードをCSVファイルにエクスポートすることもできます(パスワードをバックアップしたり、別のパスワードマネージャーにインポートしたりする場合に最適です)。
1. Safariを開き、メニューバーで[ Safari ] >[設定](Preferences)を選択します。

2. [パスワード(Passwords)]タブに切り替えます。
ヒント: (Tip)Safariで(Safari)パスワード(Passwords)マネージャーにアクセスするもう1つの方法は、システム環境設定(System Preferences)アプリ内で[パスワード(Passwords)]カテゴリを選択することです。
3. Macユーザーアカウントのパスワードをパスワードフィールドに入力するか、TouchIDを使用して自分自身を認証します。

4.ウィンドウの左下隅にある[その他]アイコン(3つのドット)を選択し、[(More)パスワードのエクスポート(Export Passwords)]を選択します。

5. MacでパスワードをCSVファイルにエクスポートする場所を選択し、[保存(Save)]を選択します。

6.これで、パスワードを削除できます。
個々のパスワードの削除:削除するパスワードを強調表示して、(Delete Individual Passwords)削除(Delete )(–)アイコンを選択します。パスワードがたくさんある場合は、サイドバーの上部にある検索(Search)バーを使用して、ユーザー名またはWebサイトでログインエントリを検索します。

複数のパスワードの削除(Delete Multiple Passwords):コマンド(Command)キーを押したままにして、サイドバーで複数のログインエントリを選択します。次に、[削除]を選択し(Delete)て、それらを同時に削除します。
すべてのパスワード(Delete All Passwords)を削除:保存されているすべてのWebサイトのパスワードを削除する場合は、Command + Aを押してサイドバー全体を強調表示します。次に、Deleteキーを押し、確認として[パスワードの削除](Delete Passwords)を選択します。

注(Note): Safariのパスワードマネージャーで[その他(More)] > [パスワードのインポート]を選択すると、 (Import Passwords)CSVファイルから削除されたパスワードをいつでも復元できます。
キーチェーンアクセスを使用して保存されたパスワードを削除する(Delete Any Saved Password Using Keychain Access)
ログインキーチェーンからウェブサイト、アプリ、Wi-Fiネットワーク、暗号化されたディスクイメージのパスワードを削除する場合は、macOSに組み込まれているキーチェーンアクセスアプリを使用する必要があります。(use the built-in Keychain Access app)MacでTimeMachineをまだセットアップし(set up Time Machine on your Mac)ていない場合は、先に進む前にキーチェーンを手動でバックアップすることをお勧めします。
注: (Note)Macですべてのパスワードを削除する場合は、ログインキーチェーンをリセットするのが最善の方法です。手順(Skip)については、次のセクションに進んでください。
ログインキーチェーンをバックアップする(Back Up Your Login Keychain)
1. Controlキーを押しながらクリックするか、 Finder(Finder)アイコンを右クリックして、 [フォルダに移動(Go to Folder)]を選択します。

2.次のフォルダパスを入力し、 Enterキー(Enter)を押します。
~/Library/Keychains

3.login.keychain-db(login.keychain-db)ファイルのコピーをMacの別の場所に作成します。

ログインキーチェーンのパスワードを削除する(Delete Passwords in Login Keychain)
1.Launchpad(Launchpad) >その他(Other)>キー(Keychain Access)チェーンアクセスを介してキーチェーンアクセスを開きます。または、Finderを使用して(Finder)アプリケーション(Applications)フォルダにアクセスし、ユーティリティ(Utilities)フォルダ内のキーチェーンアクセス(Keychain Access)をダブルクリックします。

2.サイドバーの[デフォルトのキーチェーン](Default Keychains)セクションでログインキーチェーンを選択します。ログイン(Login)とローカルアイテム( Local Items)の2つのカテゴリで構成されています。
ログイン(Login):iCloud経由で同期できないエントリが含まれています。
ローカルアイテム(Local Items):iCloud経由で同期できるエントリが含まれています。キーチェーンがiCloud経由でアクティブに同期している場合は、キーチェーンアクセスサイドバーにiCloudとしてリストされているカテゴリが表示されます。(iCloud)

3.これで、パスワードの削除を開始できます。
個々のパスワードの削除:Controlキーを押しながらクリックするか、削除するパスワードを右クリックして、 (Delete Individual Passwords)[アイテムの削除](Delete Item)を選択します。ウィンドウの右上にある検索(Search)バーを使用して、ユーザー名、Webアドレス、ネットワーク名などでログインエントリを検索します。
複数のパスワードの削除(Delete Multiple Passwords):コマンド(Command)キーを押しながら、削除するログインエントリを選択します。次に、強調表示されたアイテムのいずれかをcontrolキーを押しながらクリックし、[Xアイテムの削除](Delete X Items)を選択します。

4.[削除](Delete)を選択して確認します。

キーチェーンアクセスを使用してデフォルト(Default Keychain Using Keychain Access)のキーチェーンをリセットする
Webサイト、アプリ、およびWi-Fi(Wi-Fi)ネットワークのすべてのパスワードを削除する場合、Macのキーチェーンアクセス(Keychain Access)アプリには、デフォルトのログインキーチェーンをリセットするオプションがあります。これは、パスワードを忘れた場合(たとえば、管理者パスワードをリセットした後)、または破損したキーチェーンの問題を解決したい場合に理想的です。
ログインキーチェーンをリセットすると、既存のデータのバックアップコピーが自動的に生成され、必要に応じて後でキーチェーン(Keychain)に追加できます(たとえば、パスワードを覚えている場合)。
注(Note):キーチェーン応急処置オプションは、 (Keychain First Aid)Mac OSX10.11以降では使用できなくなりました。
1.キーチェーンアクセス(Keychain Access)アプリを開き、メニューバーで[キーチェーンアクセス(Keychain Access )] >[設定]を選択します。(Preferences)

2.[デフォルトのキーチェーンのリセット](Reset Default Keychains)を選択します。

3. [キーチェーンアクセス](Keychain Access)ポップアップで[パスワード(Use Password)を使用]を選択して、Macの管理者パスワードでアクションを認証します。または、TouchIDを使用します(use Touch ID)。

4. Mac管理者パスワードをもう一度入力して新しいログインキーチェーンを暗号化し、[ OK ]を選択します。

5. [ OK]を選択して、リセットプロセスを完了します。

6.別のログインキーチェーンパスワードを使用する場合は、[編集(Edit)]メニューを開き、[キーチェーンのパスワードの変更]を選択します。(Change Password for Keychain)または、[キーチェーンアクセス] > [キーチェーンアクセスを(Keychain Access)終了](Quit Keychain Access)を選択します。
注(Note):古いログインキーチェーンの内容を追加する場合は、[キーチェーンアクセス(Keychain Access)]メニューバーで[ファイル(File)] > [キーチェーンのインポート]を選択します。(Import Keychain)自動データベースバックアップは ~/Library/Keychainsディレクトリにあります。
キーチェーンアクセスからカスタムキーチェーンを削除する(Delete Custom Keychain From Keychain Access)
Macでカスタムキーチェーンを使用している場合は、ログインキーチェーンと同様に内部のアイテムを削除できます。キーチェーン自体を完全に削除するオプションもあります。
1.キーチェーンアクセス(Keychain Access)アプリの[カスタムキーチェーン](Custom Keychains)セクションからキーチェーンを選択します。

2.メニューバーで[ファイル(File)] > [キーチェーンの削除]を選択します。(Delete Keychain)

3.[参照(Remove Reference)の削除]または[キーチェーンファイル(Delete Keychain File )の削除]オプションを選択します。

参照の削除:キー(Remove Reference)チェーンアクセス(Keychain Access)のカスタムキーチェーンへの参照のみを削除します。メニューバーの[ファイル(File)] >[キーチェーンの追加(Add Keychain)]を選択すると、いつでもキーチェーンを再追加できます。
キーチェーンファイル(Delete Keychain File)の削除:キーチェーンデータベースファイルを削除します。Macに(Mac)TimeMachineを設定していない場合は、このオプションを選択する前に、ファイルを別の場所にバックアップすることをお勧めします。~/Library/Keychainsディレクトリにあります。
まとめ
今見たように、キーチェーン(Keychain)でパスワードを削除する方法はいくつかあります。先に進む前に、必ずパスワードのバックアップを作成してください。(Always)これにより、後で気が変わった場合にログインの詳細を取得するオプションが提供されます。
How to Delete All Your Keychain Passwords in macOS (Reset Keychain)
Apple Keychain does a terrific job of keeping the login info for websites, applications, and wireless networks secure on your Mac. It even allows for a seamless password auto-filling experience across Apple devices by syncing data over iCloud.
But as you keep using your Mac, you may run into instances that require you to delete passwords from your default login keychain. You may even have to reset the keychain and start all over in some cases.

When You Would Want to Delete Your Keychain Passwords in macOS
Before you start, it’s a good idea to go through specific scenarios that require you to delete individual or all passwords in your login keychain on the Mac.
You Have Trouble Saving or Auto-Filling Passwords
You keep encountering issues with Keychain while saving or auto-filling passwords. Searching for and deleting the offending login entries can help. But if the problem occurs all the time, you should probably reset the default keychain.
You Want to Hand Over Your Mac to Someone Else
You want to hand over your Mac to someone else for an extended period. If creating a separate user account is out of the question, deleting your passwords helps preserve privacy and prevents access to websites and apps.
Note: Are you looking to sell your Mac? You must reset your macOS device to factory defaults instead.
You’ve Forgotten the Password to the Login Keychain
By default, your login keychain uses your Mac’s admin password to encrypt its contents. So if you forget and reset your Mac account with a new password, you won’t be able to access or use your current login keychain unless you remember your old password. A complete keychain reset is the only way to start saving passwords again.
You’ve Switched to a Different Password Manager
Despite the convenience of having Keychain integrated into your Mac, you may prefer an alternative cross-platform password management utility such as 1Password, LastPass, or Dashlane. After making the switch, reset your login keychain if you don’t like keeping passwords in multiple locations.
Optional: Disable iCloud Keychain
If you’ve set up Keychain to sync passwords over iCloud, you may want to disable iCloud Keychain before you begin. If not, deleting your passwords in macOS will also result in their automatic removal from other Apple devices you own.
1. Open the System Preferences app. If you can’t find it on the Dock, open the Apple menu and select System Preferences.

2. Select Apple ID.

3. Select iCloud on the sidebar. Then, uncheck the box next to Keychain.

Delete Website Passwords Using Safari Passwords Manager
If you only want to delete website passwords, the most convenient way to do that is to use Safari’s integrated Passwords manager. You can also use it to export passwords to a CSV file (ideal if you want to back up your passwords or import them to a different password manager).
1. Open Safari and select Safari > Preferences on the menu bar.

2. Switch to the Passwords tab.
Tip: Another way to access the Passwords manager in Safari is to select the Passwords category inside the System Preferences app.
3. Enter your Mac user account password into the password field or authenticate yourself using Touch ID.

4. Select the More icon (three dots) at the lower-left corner of the window and choose Export Passwords.

5. Pick a location on your Mac to export your passwords to a CSV file and select Save.

6. You can now delete your passwords:
Delete Individual Passwords: Highlight the password you want to remove and select the Delete (–) icon. If you have lots of passwords, use the Search bar at the top of the sidebar to search for login entries by username or website.

Delete Multiple Passwords: Hold down the Command key to select multiple login entries on the sidebar. Then, select Delete to remove them simultaneously.
Delete All Passwords: If you want to delete all saved website passwords, press Command + A to highlight the entire sidebar. Then, press the Delete key and select Delete Passwords as confirmation.

Note: You can restore deleted passwords from the CSV file at any time by selecting More > Import Passwords in Safari’s Passwords manager.
Delete Any Saved Password Using Keychain Access
If you want to delete passwords of websites, apps, Wi-Fi networks, and encrypted disk images from your login keychain, you must use the built-in Keychain Access app in macOS. If you’ve yet to set up Time Machine on your Mac, we recommend backing up your keychain manually before proceeding.
Note: If you want to delete all passwords on your Mac, your best option is to reset the login keychain. Skip ahead to the next section for instructions.
Back Up Your Login Keychain
1. Control-click or right-click the Finder icon and select Go to Folder.

2. Type in the following folder path and press Enter:
~/Library/Keychains

3. Create a copy of the login.keychain-db file to a different location on your Mac.

Delete Passwords in Login Keychain
1. Open Keychain Access via Launchpad > Other > Keychain Access. Or, visit the Applications folder using Finder and double-click Keychain Access inside the Utilities folder.

2. Select your login keychain under the Default Keychains section of the sidebar. It consists of two categories—Login and Local Items.
Login: Contains entries that you can’t sync over iCloud.
Local Items: Contains entries that you can sync via iCloud. If the keychain is actively syncing via iCloud, you’ll see the category listed as iCloud on the Keychain Access sidebar.

3. You can now start deleting your passwords:
Delete Individual Passwords: Control-click or right-click the password you want to remove and select Delete Item. Use the Search bar at the top right of the window to search for login entries by username, web address, network name, etc.
Delete Multiple Passwords: Hold down the Command key while selecting the login entries you want to remove. Then, control-click any of the highlighted items and select Delete X Items.

4. Select Delete to confirm.

Reset My Default Keychain Using Keychain Access
If you want to delete all passwords for websites, apps, and Wi-Fi networks, the Mac’s Keychain Access app provides you the option to reset the default login keychain. That’s ideal if you forget its password (e.g., after an admin password reset) or want to resolve issues with a corrupt keychain.
Resetting your login keychain will automatically generate a backup copy of the existing data that you can add to Keychain later (e.g., if you remember its password) if you want.
Note: The Keychain First Aid option is no longer present in Mac OS X 10.11 and later.
1. Open the Keychain Access app and select Keychain Access > Preferences on the menu bar.

2. Select Reset Default Keychains.

3. Select Use Password on the Keychain Access pop-up to authenticate the action with your Mac’s admin password. Or, use Touch ID.

4. Enter your Mac admin password again to encrypt the new login keychain and select OK.

5. Select OK to complete the reset process.

6. Open the Edit menu and select Change Password for Keychain if you want to use a different login keychain password. Or, select Keychain Access > Quit Keychain Access.
Note: If you want to add the contents of the old login keychain, select File > Import Keychain on the Keychain Access menu bar. You’ll find the automatic database backup under the ~/Library/Keychains directory.
Delete Custom Keychain From Keychain Access
If you use a custom keychain on your Mac, you can delete any item inside similar to the login keychain. You also have the option of completely removing the keychain itself.
1. Select the keychain from the Custom Keychains section of the Keychain Access app.

2. Select File > Delete Keychain on the menu bar.

3. Select the Remove Reference or the Delete Keychain File option.

Remove Reference: Removes only the reference to the custom keychain in Keychain Access. You can always re-add the keychain by selecting File > Add Keychain on the menu bar.
Delete Keychain File: Deletes the keychain database file. If you don’t have Time Machine set up on your Mac, you may want to back up the file to a different location before selecting this option. You can find it under the ~/Library/Keychains directory.
Wrapping Up
As you just saw, you have several approaches to deleting passwords in Keychain. Always create a backup of your passwords before you go ahead. That gives you the option of retrieving your login details if you change your mind later.