[PR #4305] [MERGED] feat(cli): add support for AWS Signature Authorization type #4745

Closed
opened 2026-03-17 02:15:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4305
Author: @jamesgeorge007
Created: 8/28/2024
Status: Merged
Merged: 8/30/2024
Merged by: @jamesgeorge007

Base: nextHead: feat/cli-aws-signature-auth


📝 Commits (1)

  • f088cac feat: support AWS signature CLI auth type in the CLI

📊 Changes

6 files changed (+231 additions, -6 deletions)

View changed files

📝 packages/hoppscotch-cli/package.json (+1 -0)
📝 packages/hoppscotch-cli/src/__tests__/e2e/commands/test.spec.ts (+24 -1)
packages/hoppscotch-cli/src/__tests__/e2e/fixtures/collections/aws-signature-auth-coll.json (+101 -0)
packages/hoppscotch-cli/src/__tests__/e2e/fixtures/environments/aws-signature-auth-envs.json (+35 -0)
📝 packages/hoppscotch-cli/src/utils/pre-request.ts (+67 -5)
📝 pnpm-lock.yaml (+3 -0)

📄 Description

#4142 adds support for the AWS Signature Authorization type in the UI. This PR extends support for the same in the CLI.

Closes HFE-568.

What's changed

  • Business logic addition for translating the supplied authorization filed values to headers/query params as opted.
  • aws4fetch is added as a dependency to assist with request signing.
  • Relevant test suite updates and fixture additions.

Notes to reviewers

Save the request used while verifying the UI changes in #4142 to a collection and export it. Switch to this branch navigate to the CLI path locally and build it. Now, supply the collection file path along with the test command and ensure the requests report a status code of 200.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/4305 **Author:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Created:** 8/28/2024 **Status:** ✅ Merged **Merged:** 8/30/2024 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `feat/cli-aws-signature-auth` --- ### 📝 Commits (1) - [`f088cac`](https://github.com/hoppscotch/hoppscotch/commit/f088cac9f0023a4a01bfafb94aecea7e30127b40) feat: support AWS signature CLI auth type in the CLI ### 📊 Changes **6 files changed** (+231 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-cli/package.json` (+1 -0) 📝 `packages/hoppscotch-cli/src/__tests__/e2e/commands/test.spec.ts` (+24 -1) ➕ `packages/hoppscotch-cli/src/__tests__/e2e/fixtures/collections/aws-signature-auth-coll.json` (+101 -0) ➕ `packages/hoppscotch-cli/src/__tests__/e2e/fixtures/environments/aws-signature-auth-envs.json` (+35 -0) 📝 `packages/hoppscotch-cli/src/utils/pre-request.ts` (+67 -5) 📝 `pnpm-lock.yaml` (+3 -0) </details> ### 📄 Description #4142 adds support for the AWS Signature Authorization type in the UI. This PR extends support for the same in the CLI. Closes HFE-568. ### What's changed - Business logic addition for translating the supplied authorization filed values to headers/query params as opted. - [aws4fetch](https://www.npmjs.com/package/aws4fetch) is added as a dependency to assist with request signing. - Relevant test suite updates and fixture additions. ### Notes to reviewers Save the request used while verifying the UI changes in #4142 to a collection and export it. Switch to this branch navigate to the CLI path locally and build it. Now, supply the collection file path along with the `test` command and ensure the requests report a status code of `200`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:15:07 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4745
No description provided.