Skip to content

Commit

Permalink
feat(experimentalIdentityAndAuth): add aliases for `httpSigningMiddle…
Browse files Browse the repository at this point in the history
…ware` (#970)

- `@httpApiKeyAuth`: `apiKeyMiddleware`
- `@httpBearerAuth`: `tokenMiddleware`
- `@aws.auth#sigv4`: `awsAuthMiddleware`
  • Loading branch information
Steven Yuan authored Sep 28, 2023
1 parent b609df1 commit 890feeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/mighty-teachers-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@smithy/experimental-identity-and-auth": patch
---

Add aliases for `httpSigningMiddleware`
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const httpSigningMiddlewareOptions: FinalizeRequestHandlerOptions & Relat
step: "finalizeRequest",
tags: ["HTTP_SIGNING"],
name: "httpSigningMiddleware",
aliases: ["apiKeyMiddleware", "tokenMiddleware", "awsAuthMiddleware"],
override: true,
relation: "after",
toMiddleware: retryMiddlewareOptions.name!,
Expand Down

0 comments on commit 890feeb

Please sign in to comment.