You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(experimentalIdentityAndAuth): add control branches for experimentalIdentityAndAuth
As part of feature development of `experimentalIdentityAndAuth`, add
control branches for existing behavior in existing integrations,
particularly `@aws.auth#sigv4` and `@httpBearerTokenAuth`:
- `AddAwsAuthPlugin`
- `AddAwsRuntimeConfig`
- `AddBuiltinPlugins`
- `AddEventBridgePlugin`
- `AddS3Config`
- `AddS3ControlDependency`
- `AddTokenAuthPlugin`
- `AddEventStreamHandlingDependency`
Also, add a section in `CONTRIBUTING.md` about experimental features in `smithy-typescript`
used in `aws-sdk-js-v3`.
| Identity & Auth |`experimentalIdentityAndAuth`| Standardize identity and auth integrations to match the Smithy specification (see [Authentication Traits](https://smithy.io/2.0/spec/authentication-traits.html)). Newer capabilities include support for multiple auth schemes, `@optionalAuth`, and standardized identity interfaces for authentication schemes both in code generation and TypeScript packages. In `smithy-typescript`, `@httpApiKeyAuth` will be updated to use the new standardized interfaces. In `aws-sdk-js-v3` (`smithy-typescript`'s largest customer), this will affect `@aws.auth#sigv4` and `@httpBearerAuth` implementations, but is planned to be completely backwards-compatible. |
155
+
145
156
## Build caching
146
157
147
158
Build caching is optionally available via Turborepo. See `turbo.json`.
Copy file name to clipboardExpand all lines: codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddAwsAuthPlugin.java
+96-78Lines changed: 96 additions & 78 deletions
Original file line number
Diff line number
Diff line change
@@ -72,39 +72,41 @@ public void addConfigInterfaceFields(
72
72
SymbolProvidersymbolProvider,
73
73
TypeScriptWriterwriter
74
74
) {
75
-
ServiceShapeservice = settings.getService(model);
76
-
if (!isSigV4Service(service) && isAwsService(service)) {
Copy file name to clipboardExpand all lines: codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddAwsRuntimeConfig.java
+33-28Lines changed: 33 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -91,11 +91,13 @@ public void addConfigInterfaceFields(
91
91
writer.writeDocs("Enables FIPS compatible endpoints.")
0 commit comments