Distribuera webbläsartillägg med hjälp av GPO, Linux-policyer och .plist-filer
När du använder Bitwarden i en affärsmiljö kan administratörer vilja automatisera distributionen av Bitwarden webbläsartillägg till användare med en plattform för hantering av slutpunkter eller grupppolicy. Den här artikeln kommer att täcka hur man använder GPO och andra mallar för att automatisera distributionen av Bitwarden-webbläsartillägg till användare med en plattform för hantering av slutpunkter.
Windows
Att distribuera Bitwarden-webbläsartillägg till webbläsare på Windows kräver i allmänhet att Windows Group Policy används för att rikta in sig på hanterade datorer med en ADMX-policymall. Proceduren är lite olika för varje webbläsare:
To deploy the browser extension on Windows and Google Chrome:
Download and unzip the Chrome Enterprise Bundle for Windows.
From the unzipped directory:
Copy
\Configuration\admx\chrome.admxtoC:\Windows\PolicyDefinitionsCopy
\Configuration\admx\en-US\chrome.admltoC:\Windows\PolicyDefinitions\en-US
Open the Windows Group Policy Manager and create a new GPO for Bitwarden browser extension installation.
Right-click on the new GPO and select Edit..., and proceed to navigate to Computer Configuration → Policies → Administrative Templates → Google Chrome → Extensions.
In the right-hand settings area, select Configure the list of force-installed apps and extensions. In the dialog, toggle the Enabled option.
Select the Show... button and add the following:
Bashnngceckbapebfimnlniiiahkandclblb;https://clients2.google.com/service/update2/crxClick OK.
Still in ...Administrative Templates → Google Chrome, select Password manager from the file tree.
In the right-hand settings area, right-click Enable saving passwords to the password manager and select Edit. In the dialog, toggle the Disabled option and select OK.
Repeat Step 8 for the Enable Autofill for addresses and Enable Autofill for credit cards options, found in settings area for ...Administrative Templates → Google Chrome.
Apply the newly-configured GPO to your desired scope.
Linux
Att distribuera Bitwarden-webbläsartillägg till webbläsare på Linux innebär i allmänhet att man använder en .json-fil för att ställa in konfigurationsegenskaper. Proceduren är lite olika för varje webbläsare:
To deploy the browser extension on Linux and Google Chrome:
Download the Google Chrome .deb or .rpm for Linux.
Download the Chrome Enterprise Bundle.
Unzip the Enterprise Bundle (
GoogleChromeEnterpriseBundle64.ziporGoogleChromeEnterpriseBundle32.zip) and open the/Configurationfolder.Make a copy of the
master_preferences.json(in Chrome 91+,initial_preferences.json) and rename itmanaged_preferences.json.Add the following to
managed_preferences.json:Bash{ "policies:" { "ExtensionSettings": { "nngceckbapebfimnlniiiahkandclblb": { "installation_mode": "force_installed", "update_url": "https://clients2.google.com/service/update2/crx" } } } }In this JSON object,
"nngceckbapebfimnlniiiahkandclblb"is the application identifier for the Bitwarden browser extension. Similarly,"https://clients2.google.com/service/update2/crx"signals Chrome to use the Chrome Web Store to retrieve the identified application.note
You may also configure forced installations using the ExtensionInstallForcelist policy, however the ExtensionSettings method will supersede ExtensionInstallForceList.
(Recommended) To disable Chrome's built-in password manager, add the following to
managed_preferences.jsoninside of"policies": { }:Bash{ "PasswordManagerEnabled": false }Create the following directories if they do not already exist:
Bashmkdir /etc/opt/chrome/policies mkdir /etc/opt/chrome/policies/managedMove
managed_preferences.jsoninto/etc/opt/chrome/policies/managed.As you will need to deploy these files to users' machines, we recommend making sure only admins can write files in the
/manageddirectory:Bashchmod -R 755 /etc/opt/chrome/policiesUsing your preferred software distribution or MDM tool, deploy the following to users' machines:
Google Chrome Browser
/etc/opt/chrome/policies/managed/managed_preferences.json
tip
For more help, refer to Google's Chrome Browser Quick Start for Linux guide.
MacOS
Att distribuera Bitwarden-webbläsartillägg till webbläsare på macOS innebär vanligtvis att man använder en egenskapslista (.plist). Proceduren är lite olika för varje webbläsare:
To deploy the browser extension on macOS & Google Chrome:
Download the Google Chrome .dmg or .pkg for macOS.
Download the Chrome Enterprise Bundle.
Unzip the Enterprise Bundle (
GoogleChromeEnterpriseBundle64.ziporGoogleChromeEnterpriseBundle32.zip).Open the
/Configuration/com.Google.Chrome.plistfile with any text editor.Add the following to the
.plistfile:Bash<key>ExtensionSettings</key> <dict> <key>nngceckbapebfimnlniiiahkandclblb</key> <dict> <key>installation_mode</key> <string>force_installed</string> <key>update_url</key> <string>https://clients2.google.com/service/update2/crx</string> </dict> </dict>In this codeblock,
nngceckbapebfimnlniiiahkandclblbis the application identifier for the Bitwarden browser extension. Similarly,https://clients2.google.com/service/update2/crxsignals Chrome to use the Chrome Web Store to retrieve the identified application.note
You may also configure forced installations using the ExtensionInstallForcelist policy, however the ExtensionSettings method will supersede ExtensionInstallForceList.
(Recommended) To disable Chrome's built-in password manager, add the following to
com.Google.Chrome.plist:Bash<key>PasswordManagerEnabled</key> <false />Convert the
com.Google.Chrome.plistfile to a configuration profile using a conversion tool like mcxToProfile.Deploy the Chrome
.dmgor.pkgand the configuration profile using your software distribution or MDM tool to all managed computers.
tip
For more help, refer to Google's Chrome Browser Quick Start for Mac guide.