Repository-s3 plugin not installed

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Describe the issue:
I deployed opensearch with helm chart in an air gapped environment.
i want to download the s3-repository plugin.

i took the zip folder with the plugin, copied it to the container and ran :
./bin/opensearch-plugin install file:/path-to-my-file

the plugin was installed and when running:
./bin/opensearch-plugin list
i see the ‘repository-s3’ plugin in the list.

the problem is when trying to create a repository i get the error:

“type”: “repository_exception”,
reason: “[my-repo] repository type [s3] does not exist”

and when accessing the _cat/plugins endpoint i cant see my new plugin.

Configuration:

Relevant Logs or Screenshots:

i will also add that the repository exist in the path /plugins/repository-s3

ok i finally managed to install it, i had to modify the dockerfile of the opensearch to add the minio_access_key and minio_secret_key to the keystore as well as install the s3 in the building stage,

but now i have an error of :
root_cause:
“type”: “repository_verification_exception”,
“reason”: [my-repo] path [snapshots] is not accessible on cluster-manager node"

caused_by: " {
“reason” : “Unable to upload object [snapshots/tests-…/master.dat] using a single upload”
“caused_by”: “Unable to load region from any of the providers in the chain software.amazon.awssdk… unable to contact EC2 metadata service”
}

how can i fix this and use the s3-repo plugin in my air gapped environment without contacting an aws.
(I have Minio deployed)