{"id":20018530,"url":"https://github.com/rupeshtr78/minio-aws-sdk","last_synced_at":"2025-07-27T07:35:11.503Z","repository":{"id":248078249,"uuid":"827562362","full_name":"rupeshtr78/minio-aws-sdk","owner":"rupeshtr78","description":"MinIO using AWS SDK for Go and AWS CLI","archived":false,"fork":false,"pushed_at":"2024-07-29T04:39:56.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T03:18:18.450Z","etag":null,"topics":["awssdk","golang","minio","s3api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rupeshtr78.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-07-11T22:46:05.000Z","updated_at":"2024-07-29T04:39:58.000Z","dependencies_parsed_at":"2024-07-12T08:48:08.053Z","dependency_job_id":"5d854631-10c0-4be8-8742-56da550c8ab1","html_url":"https://github.com/rupeshtr78/minio-aws-sdk","commit_stats":null,"previous_names":["rupeshtr78/minio-aws-sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rupeshtr78/minio-aws-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rupeshtr78%2Fminio-aws-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rupeshtr78%2Fminio-aws-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rupeshtr78%2Fminio-aws-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rupeshtr78%2Fminio-aws-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rupeshtr78","download_url":"https://codeload.github.com/rupeshtr78/minio-aws-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rupeshtr78%2Fminio-aws-sdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267324592,"owners_count":24069394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"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":["awssdk","golang","minio","s3api"],"created_at":"2024-11-13T08:23:04.424Z","updated_at":"2025-07-27T07:35:11.330Z","avatar_url":"https://github.com/rupeshtr78.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minio\n\nThis repository demonstrates how to interact with MinIO using AWS SDK for Go and AWS CLI, treating MinIO as an S3-compatible object storage service.\n\n## Prerequisites\n\n- Go 1.22.0 or later\n- AWS CLI\n- MinIO server can be configured using `docker-compose.yaml`\n\n## Setup\n\n1. Clone this repository\n2. Install dependencies:\n\n\n\n## Setup aws cli with Minio\nTo set up AWS S3 CLI to work with MinIO, follow these steps:\n\n1. Install AWS CLI if you haven't already.\n\n2. Configure AWS CLI with MinIO credentials:\n```\naws configure --profile minio\n```\nEnter your MinIO access key, secret key, and region (e.g., us-east-1).\n\n3. Enable AWS Signature Version 4:\n```\naws configure set default.s3.signature_version s3v4\n```\n\n4. When using AWS CLI commands with MinIO,  One option is to include the `--endpoint-url` parameter pointing to your MinIO server:\n```\naws --endpoint-url https://your-minio-server:9000 s3 \u003ccommand\u003e\n```\n\nFor example, to list buckets:\n```\naws --endpoint-url https://your-minio-server:9000 s3 ls\n```\n\nTo create a bucket:\n```\naws --endpoint-url https://your-minio-server:9000 s3 mb s3://mybucket\n```\n\nTo upload a file:\n```\naws --endpoint-url https://your-minio-server:9000 s3 cp file.txt s3://mybucket/\n```\n\n### Set Default Profile\n\n```bash\naws configure --profile minio\n# Enter access keyid and secret key\n\naws s3 ls --profile \u003cprofile_name\u003e\n\nexport AWS_PROFILE=\u003cprofile_name\u003e\n\naws s3 ls\n```\n\n### Aws Config File\n\n```bash\n\n~/.aws/config\n\n[default]\nregion = us-west-1\ns3 =\n    signature_version = s3v4\n\n[profile minio]\nregion = us-west-1\nservices = miniosrv\n\n[services miniosrv]\ns3 =\n    endpoint_url = your-minio-server:9000\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frupeshtr78%2Fminio-aws-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frupeshtr78%2Fminio-aws-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frupeshtr78%2Fminio-aws-sdk/lists"}