The Search API opensolr security is a submodule that integrates the opensolr security API into Drupal. The goal is to allow users to add/remove Basic Auth to their indexes and/or to manage IP restrictions for them without having to go to their opensolr account.
Opensolr core's security can always be managed directly in your opensolr account, but beware if you change your Basic Authentication to return to Drupal and resave the affected Server(s) to update the Basic Auth there as well. Alternatively, when using the search_api_opensolr_security, the module should automatically update both.
Make sure that you set your opensolr API credentials as explained here: Setting up opensolr credentials (important). Also, if you've set them already, please make sure that you've updated your API key in case you've changed it on opensolr.com side.
This is the most important setting of this module because without this configured correctly, none of the opensolr related functionality provided by this module will be available, so make sure that you have this set up correctly from the beginning.
Assuming that your site is managed via Composer, use composer to download the module. The following command will fetch the latest version and place it in the contrib modules folder:
composer require drupal/search_api_opensolr
If you want to download a specific version or a different rule for version, check the guide on how to manage projects versions with composer.