From 981f9f970c82bb35148db00c878b89bc6aec4658 Mon Sep 17 00:00:00 2001 From: Chan Yoo <55515281+sichanyoo@users.noreply.github.com> Date: Wed, 18 Oct 2023 12:23:23 -0700 Subject: [PATCH] feat: auth scheme changes (#1174) * Add signer changes. --------- Co-authored-by: Sichan Yoo --- .../Auth/AuthSchemes/SigV4AuthScheme.swift | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Sources/Core/AWSClientRuntime/Auth/AuthSchemes/SigV4AuthScheme.swift diff --git a/Sources/Core/AWSClientRuntime/Auth/AuthSchemes/SigV4AuthScheme.swift b/Sources/Core/AWSClientRuntime/Auth/AuthSchemes/SigV4AuthScheme.swift new file mode 100644 index 00000000000..2b5cf0a081b --- /dev/null +++ b/Sources/Core/AWSClientRuntime/Auth/AuthSchemes/SigV4AuthScheme.swift @@ -0,0 +1,14 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import ClientRuntime + +public struct SigV4AuthScheme: ClientRuntime.AuthScheme { + public let schemeID: String = "aws.auth#sigv4" + public let signer: ClientRuntime.Signer = AWSSigV4Signer() + public let idKind: ClientRuntime.IdentityKind = .aws +}