Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move sigv4 specific note to trait docs #1971

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/source-2.0/aws/aws-auth.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ AWS Authentication Traits

This document defines AWS authentication schemes.

If a request contains the ``Authorization`` header or a query string parameter
with the name of ``X-Amz-Algorithm`` containing the value ``AWS4-HMAC-SHA256``,
the request will undergo authentication and be rejected if it fails. Otherwise,
if the :ref:`optionalAuth-trait` is applied, the service shall operate on the
unauthenticated request.

.. smithy-trait:: aws.auth#sigv4
.. _aws.auth#sigv4-trait:

Expand Down Expand Up @@ -41,6 +35,12 @@ Trait value
NOT be empty. This value SHOULD match the ``arnNamespace`` property
of the :ref:`aws.api#service-trait`.

If a request contains the ``Authorization`` header or a query string parameter
with the name of ``X-Amz-Algorithm`` containing the value ``AWS4-HMAC-SHA256``,
the request will undergo authentication and be rejected if it fails. Otherwise,
if the :ref:`optionalAuth-trait` is applied, the service shall operate on the
unauthenticated request.

.. code-block:: smithy

$version: "2"
Expand Down