{"id":15036519,"url":"https://github.com/minio/minio-java","last_synced_at":"2026-06-12T07:02:07.901Z","repository":{"id":31402938,"uuid":"34966186","full_name":"minio/minio-java","owner":"minio","description":"MinIO Client SDK for Java","archived":false,"fork":false,"pushed_at":"2026-05-14T11:32:58.000Z","size":13081,"stargazers_count":1293,"open_issues_count":3,"forks_count":523,"subscribers_count":37,"default_branch":"master","last_synced_at":"2026-05-14T13:36:50.938Z","etag":null,"topics":["aws-s3","client-sdk","libraries","minio-java","s3-bucket","sdk"],"latest_commit_sha":null,"homepage":"https://docs.min.io/docs/java-client-quickstart-guide.html","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/minio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":"MAINTAINERS.md","copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-05-02T23:01:03.000Z","updated_at":"2026-05-14T11:33:04.000Z","dependencies_parsed_at":"2023-02-17T03:31:20.880Z","dependency_job_id":"b4a2ab05-0d6d-4c91-adfb-17d356356fa4","html_url":"https://github.com/minio/minio-java","commit_stats":null,"previous_names":[],"tags_count":103,"template":false,"template_full_name":null,"purl":"pkg:github/minio/minio-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minio%2Fminio-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minio%2Fminio-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minio%2Fminio-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minio%2Fminio-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minio","download_url":"https://codeload.github.com/minio/minio-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minio%2Fminio-java/sbom","scorecard":{"id":648431,"data":{"date":"2025-08-11","repo":{"name":"github.com/minio/minio-java","commit":"044c33c481c67d7061b1f99ed0ea39fc06ac306b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6,"checks":[{"name":"Code-Review","score":6,"reason":"Found 18/30 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":10,"reason":"1 commit(s) and 16 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/gradle.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/minio/minio-java/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/minio/minio-java/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/minio/minio-java/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/minio/minio-java/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gradle.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/minio/minio-java/gradle.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gradle.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/minio/minio-java/gradle.yml/master?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (18) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T12:48:56.733Z","repository_id":31402938,"created_at":"2025-08-21T12:48:56.733Z","updated_at":"2025-08-21T12:48:56.733Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34232790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-s3","client-sdk","libraries","minio-java","s3-bucket","sdk"],"created_at":"2024-09-24T20:31:25.732Z","updated_at":"2026-06-12T07:02:07.893Z","avatar_url":"https://github.com/minio.png","language":"Java","funding_links":[],"categories":["项目","Projects"],"sub_categories":["实用程序","Utility"],"readme":"# MinIO Java SDK for Amazon S3 Compatible Cloud Storage [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io)\n\nMinIO Java SDK is Simple Storage Service (aka S3) client to perform bucket and object operations to any Amazon S3 compatible object storage service.\n\nFor a complete list of APIs and examples, please take a look at the [Java Client API Reference](https://docs.min.io/enterprise/aistor-object-store/developers/sdk/java/api/) documentation.\n\n## Minimum Requirements\nJava 1.8 or above.\n\n## Maven usage\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.minio\u003c/groupId\u003e\n    \u003cartifactId\u003eminio\u003c/artifactId\u003e\n    \u003cversion\u003e9.0.3\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Gradle usage\n```\ndependencies {\n    implementation(\"io.minio:minio:9.0.3\")\n}\n```\n\n## JAR download\nThe latest JAR can be downloaded from [here](https://repo1.maven.org/maven2/io/minio/minio/9.0.3/)\n\n## Quick Start Example - File Uploader\nThis example program connects to an object storage server, makes a bucket on the server and then uploads a file to the bucket.\n\nYou need three items in order to connect to an object storage server.\n\n| Parameters | Description                                                |\n|------------|------------------------------------------------------------|\n| Endpoint   | URL to S3 service.                                         |\n| Access Key | Access key (aka user ID) of an account in the S3 service.  |\n| Secret Key | Secret key (aka password) of an account in the S3 service. |\n\nThis example uses MinIO server playground [https://play.min.io](https://play.min.io). Feel free to use this service for test and development.\n\n### FileUploader.java\n```java\nimport io.minio.BucketExistsArgs;\nimport io.minio.MakeBucketArgs;\nimport io.minio.MinioClient;\nimport io.minio.UploadObjectArgs;\nimport io.minio.errors.MinioException;\nimport java.io.IOException;\nimport java.security.InvalidKeyException;\nimport java.security.NoSuchAlgorithmException;\n\npublic class FileUploader {\n  public static void main(String[] args)\n      throws IOException, NoSuchAlgorithmException, InvalidKeyException {\n    try {\n      // Create a minioClient with the MinIO server playground, its access key and secret key.\n      MinioClient minioClient =\n          MinioClient.builder()\n              .endpoint(\"https://play.min.io\")\n              .credentials(\"Q3AM3UQ867SPQQA43P2F\", \"zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG\")\n              .build();\n\n      // Make 'asiatrip' bucket if not exist.\n      boolean found =\n          minioClient.bucketExists(BucketExistsArgs.builder().bucket(\"asiatrip\").build());\n      if (!found) {\n        // Make a new bucket called 'asiatrip'.\n        minioClient.makeBucket(MakeBucketArgs.builder().bucket(\"asiatrip\").build());\n      } else {\n        System.out.println(\"Bucket 'asiatrip' already exists.\");\n      }\n\n      // Upload '/home/user/Photos/asiaphotos.zip' as object name 'asiaphotos-2015.zip' to bucket\n      // 'asiatrip'.\n      minioClient.uploadObject(\n          UploadObjectArgs.builder()\n              .bucket(\"asiatrip\")\n              .object(\"asiaphotos-2015.zip\")\n              .filename(\"/home/user/Photos/asiaphotos.zip\")\n              .build());\n      System.out.println(\n          \"'/home/user/Photos/asiaphotos.zip' is successfully uploaded as \"\n              + \"object 'asiaphotos-2015.zip' to bucket 'asiatrip'.\");\n    } catch (MinioException e) {\n      System.out.println(\"Error occurred: \" + e);\n      System.out.println(\"HTTP trace: \" + e.httpTrace());\n    }\n  }\n}\n```\n\n#### Compile FileUploader\n```sh\n$ javac -cp minio-9.0.3-all.jar FileUploader.java\n```\n\n#### Run FileUploader\n```sh\n$ java -cp minio-9.0.3-all.jar:. FileUploader\n'/home/user/Photos/asiaphotos.zip' is successfully uploaded as object 'asiaphotos-2015.zip' to bucket 'asiatrip'.\n\n$ mc ls play/asiatrip/\n[2016-06-02 18:10:29 PDT]  82KiB asiaphotos-2015.zip\n```\n\n## More References\n* [Java Client API Reference](https://docs.min.io/enterprise/aistor-object-store/developers/sdk/java/api/)\n* [Javadoc](https://minio-java.min.io/)\n* [Examples](https://github.com/minio/minio-java/tree/release/examples)\n\n## Explore Further\n* [Complete Documentation](https://docs.min.io/enterprise/aistor-object-store/)\n* [Build your own Photo API Service - Full Application Example ](https://github.com/minio/minio-java-rest-example)\n\n## Contribute\nPlease refer [Contributors Guide](https://github.com/minio/minio-java/blob/release/CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminio%2Fminio-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminio%2Fminio-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminio%2Fminio-java/lists"}