AWS rules engine authentication scheme validators¶
AWS-specific rules engine library authentication scheme validators make it possible to validate configurations for AWS authentication schemes like AWS signature version 4 and AWS signature version 4a. An additional dependency is required to access these validators.
The following example adds smithy-aws-endpoints as a dependency to a Smithy project:
{
"maven": {
"dependencies": [
"software.amazon.smithy:smithy-aws-endpoints:1.65.0"
]
}
}
sigv4 authentication scheme validator¶
- Requirement
The
nameproperty is the string valuesigv4.- Properties
Property
Type
Description
signingNameoption<string>The "service" value to use when creating a signing string for this endpoint.
signingRegionoption<string>The "region" value to use when creating a signing string for this endpoint.
disableDoubleEncodingoption<boolean>Default:
false. Whentrue, clients MUST NOT double-escape the path during signing.disableNormalizePathoption<boolean>Default:
false. Whentrue, clients MUST NOT perform any path normalization during signing.
sigv4a authentication scheme validator¶
- Requirement
The
nameproperty is the string valuesigv4a.- Properties
Property
Type
Description
signingNameoption<string>The "service" value to use when creating a signing string for this endpoint.
signingRegionSetarray<string>The set of signing regions to use when creating a signing string for this endpoint.
disableDoubleEncodingoption<boolean>Default:
false. Whentrue, clients MUST NOT double-escape the path during signing.disableNormalizePathoption<boolean>Default:
false. Whentrue, clients MUST NOT perform any path normalization during signing.