{"id":20975194,"url":"https://github.com/jhandguy/aoss-curl","last_synced_at":"2025-12-25T21:30:38.139Z","repository":{"id":62330426,"uuid":"559656019","full_name":"jhandguy/aoss-curl","owner":"jhandguy","description":"Request to Amazon OpenSearch Service with SigV4 🔏","archived":false,"fork":false,"pushed_at":"2024-04-13T19:03:38.000Z","size":332,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-14T09:45:22.906Z","etag":null,"topics":["aws","opensearch","rust","sigv4"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhandguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2022-10-30T19:26:25.000Z","updated_at":"2024-04-17T01:49:55.000Z","dependencies_parsed_at":"2023-10-16T19:00:51.198Z","dependency_job_id":"bd0b68fd-90ae-43da-872c-ec9f8ab71577","html_url":"https://github.com/jhandguy/aoss-curl","commit_stats":{"total_commits":30,"total_committers":1,"mean_commits":30.0,"dds":0.0,"last_synced_commit":"cb983181a827fa5e8770ba7fecf82681d130ebbf"},"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhandguy%2Faoss-curl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhandguy%2Faoss-curl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhandguy%2Faoss-curl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhandguy%2Faoss-curl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhandguy","download_url":"https://codeload.github.com/jhandguy/aoss-curl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225297538,"owners_count":17452010,"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","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","opensearch","rust","sigv4"],"created_at":"2024-11-19T04:40:36.858Z","updated_at":"2025-12-25T21:30:38.099Z","avatar_url":"https://github.com/jhandguy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aoss-curl\n\n[![Version](https://img.shields.io/crates/v/aoss-curl)](https://crates.io/crates/aoss-curl)\n[![Downloads](https://img.shields.io/crates/d/aoss-curl)](https://crates.io/crates/aoss-curl)\n[![License](https://img.shields.io/crates/l/aoss-curl)](LICENSE)\n[![Build](https://img.shields.io/github/actions/workflow/status/jhandguy/aoss-curl/ci.yaml)](https://github.com/jhandguy/aoss-curl/actions/workflows/ci.yaml)\n[![Release](https://img.shields.io/github/actions/workflow/status/jhandguy/aoss-curl/cd.yaml?label=release)](https://github.com/jhandguy/aoss-curl/actions/workflows/cd.yaml)\n\nRequest to Amazon OpenSearch Service with SigV4 🔏\n\n```shell\n➜ aoss-curl\nRequest to Amazon OpenSearch Service with SigV4 🔏\n\nUsage: aoss-curl \u003cCOMMAND\u003e\n\nCommands:\n  no-auth  Request to Amazon OpenSearch Service with SigV4\n  aws-mfa  Request to Amazon OpenSearch Service with SigV4 and aws-mfa\n  help     Print this message or the help of the given subcommand(s)\n\nOptions:\n  -h, --help     Print help\n  -V, --version  Print version\n```\n\n## Installation\n\n**aoss-curl** is published on [crates.io](https://crates.io/crates/aoss-curl) and can be installed with\n\n```shell\ncargo install aoss-curl\n```\n\nor via [homebrew-tap](https://github.com/jhandguy/homebrew-tap) with\n\n```shell\nbrew install jhandguy/tap/aoss-curl\n```\n\nor downloaded as binary from the [releases page](https://github.com/jhandguy/aoss-curl/releases).\n\n## Usage\n\n### no-auth\n\nRun the `aoss-curl no-auth` command:\n```shell\naoss-curl no-auth -u \u003copensearch_domain\u003e/_cat/indices\n```\n```text\n200 OK\ngreen ...\n```\n\n### aws-mfa\n\n[aws-mfa](https://github.com/jhandguy/aws-mfa) can be used for authenticating to AWS with MFA before requesting to Amazon OpenSearch Service.\n\n#### Config and credentials files\n\nAdd default region in `~/.aws/config`:\n```text\n[profile \u003cprofile_name\u003e-noauth]\nregion = \u003caws_region\u003e\n\n[profile \u003cprofile_name\u003e]\nregion = \u003caws_region\u003e\n```\n\nAdd basic credentials in `~/.aws/credentials`:\n\n```text\n[\u003cprofile_name\u003e-noauth]\naws_access_key_id = \u003caws_access_key_id\u003e\naws_secret_access_key = \u003caws_secret_access_key\u003e\n```\n\n\u003e **Note**: make sure to add the `-noauth` suffix to the profile name\n\nRun the `aoss-curl aws-mfa file` command:\n```shell\naoss-curl aws-mfa file -p \u003cprofile_name\u003e -c \u003cmfa_code\u003e -u \u003copensearch_domain\u003e/_cat/indices\n```\n```text\n200 OK\ngreen ...\n```\n\n#### Environment variables\n\nExport default region and basic credentials as environment variables:\n\n```shell\nexport AWS_REGION=\u003caws_region\u003e\nexport AWS_ACCESS_KEY_ID=\u003caws_access_key_id\u003e\nexport AWS_SECRET_ACCESS_KEY=\u003caws_secret_access_key\u003e\n```\n\nRun the `aoss-curl aws-mfa env` command:\n```shell\naoss-curl aws-mfa env -c \u003cmfa_code\u003e -u \u003copensearch_domain\u003e/_cat/indices\n```\n```text\n200 OK\ngreen ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhandguy%2Faoss-curl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhandguy%2Faoss-curl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhandguy%2Faoss-curl/lists"}