mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #5888] feat: add AWS profile credential mode for Signature auth #5395
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#5395
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/5888
Author: @mcdgavin
Created: 2/18/2026
Status: 🔄 Open
Base:
main← Head:feat/aws-profiles-clean📝 Commits (2)
3cd3b9cfeat(common,agent,data): add AWS profile credential mode for AWS Signature authd2d6879fix(common,agent): improve AWS profile UX and correctness📊 Changes
23 files changed (+1486 additions, -87 deletions)
View changed files
📝
packages/hoppscotch-agent/src-tauri/Cargo.lock(+559 -36)📝
packages/hoppscotch-agent/src-tauri/Cargo.toml(+2 -0)➕
packages/hoppscotch-agent/src-tauri/src/aws.rs(+170 -0)📝
packages/hoppscotch-agent/src-tauri/src/error.rs(+6 -0)📝
packages/hoppscotch-agent/src-tauri/src/lib.rs(+1 -0)📝
packages/hoppscotch-agent/src-tauri/src/model.rs(+30 -0)📝
packages/hoppscotch-agent/src-tauri/src/route.rs(+6 -1)📝
packages/hoppscotch-common/locales/en.json(+5 -1)📝
packages/hoppscotch-common/src/components/graphql/Authorization.vue(+2 -0)📝
packages/hoppscotch-common/src/components/http/Authorization.vue(+6 -0)📝
packages/hoppscotch-common/src/components/http/authorization/AWSSign.vue(+190 -33)📝
packages/hoppscotch-common/src/helpers/auth/types/__tests__/aws-signature.spec.ts(+209 -0)📝
packages/hoppscotch-common/src/helpers/auth/types/aws-signature.ts(+23 -6)📝
packages/hoppscotch-common/src/platform/std/kernel-interceptors/agent/store.ts(+115 -0)📝
packages/hoppscotch-common/src/services/persistence/__tests__/__mocks__/index.ts(+2 -2)📝
packages/hoppscotch-common/src/services/test-runner/test-runner.service.ts(+2 -1)📝
packages/hoppscotch-common/src/types/post-request.d.ts(+2 -0)📝
packages/hoppscotch-common/src/types/pre-request.d.ts(+2 -0)📝
packages/hoppscotch-data/src/collection/index.ts(+4 -2)➕
packages/hoppscotch-data/src/collection/v/12.ts(+60 -0)...and 3 more files
📄 Description
Summary
~/.aws/credentialsand~/.aws/config) instead of manually entering access key and secret keycredential_process) via theaws-configRust crateCloses #5235
Changes
Agent (Rust)
aws.rsmodule with two endpoints:GET /aws/profiles— lists profile names from~/.aws/credentialsand~/.aws/configPOST /aws/resolve-credentials— resolves a profile to temporary credentials via the AWS SDK credential provider chainAwsCredentialsResponseuses a customDebugimpl that redacts sensitive fieldsData model
HoppRESTAuthAWSSignaturewithcredentialMode("manual"|"profile") andprofileName.catch()defaults for backward compatibilityFrontend
listAwsProfiles()andresolveAwsCredentials()methods using sharedencryptPayload()helperTest plan
cd packages/hoppscotch-common && pnpm test -- src/helpers/auth/types/__tests__/aws-signature.spec.tscd packages/hoppscotch-common && pnpm testpnpm typecheck~/.aws/credentialswith a test profile, start agent, switch to Profile mode, verify dropdown lists profilesSummary by cubic
Adds an AWS Profile credential mode for AWS Signature auth, letting users pick a profile and resolve credentials via the Hoppscotch Agent using the AWS SDK. Manual key entry remains the default and fully supported.
Bug Fixes
Migration
Written for commit
d2d6879c27. Summary will update on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.