File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
kotlin/services/s3/src/main/kotlin/com/kotlin/s3 Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import aws.sdk.kotlin.services.s3control.model.Region
2727import aws.sdk.kotlin.services.sts.StsClient
2828import aws.sdk.kotlin.services.sts.getCallerIdentity
2929import aws.sdk.kotlin.services.sts.model.GetCallerIdentityRequest
30- import aws.smithy.kotlin.runtime.auth.awssigning.crt.CrtAwsSigner
30+ import aws.smithy.kotlin.runtime.auth.awssigning.DefaultAwsSigner
3131import aws.smithy.kotlin.runtime.content.ByteStream
3232import aws.smithy.kotlin.runtime.content.decodeToString
3333import aws.smithy.kotlin.runtime.http.auth.SigV4AsymmetricAuthScheme
@@ -204,10 +204,10 @@ class MrapExample {
204204 companion object {
205205 // snippet-start:[s3.kotlin.mrap.create-s3client]
206206 suspend fun createS3Client (): S3Client {
207- // Configure your S3Client to use the Asymmetric Sigv4 (Sigv4a ) signing algorithm.
208- val sigV4AScheme = SigV4AsymmetricAuthScheme (CrtAwsSigner )
207+ // Configure your S3Client to use the Asymmetric SigV4 (SigV4a ) signing algorithm.
208+ val sigV4aScheme = SigV4AsymmetricAuthScheme (DefaultAwsSigner )
209209 val s3 = S3Client .fromEnvironment {
210- authSchemes = listOf (sigV4AScheme )
210+ authSchemes = listOf (sigV4aScheme )
211211 }
212212 return s3
213213 }
You can’t perform that action at this time.
0 commit comments