File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
src/main/kotlin/com/kotlin/kms Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,11 @@ Code excerpts that show you how to call individual service functions.
3636- [ CreateAlias] ( src/main/kotlin/com/kotlin/kms/CreateAlias.kt#L39 )
3737- [ CreateGrant] ( src/main/kotlin/com/kotlin/kms/CreateGrant.kt#L43 )
3838- [ CreateKey] ( src/main/kotlin/com/kotlin/kms/CreateCustomerKey.kt#L27 )
39- - [ Decrypt] ( src/main/kotlin/com/kotlin/kms/EncryptDataKey.kt#L42 )
39+ - [ Decrypt] ( src/main/kotlin/com/kotlin/kms/EncryptDataKey.kt#L39 )
4040- [ DescribeKey] ( src/main/kotlin/com/kotlin/kms/DescribeKey.kt#L37 )
4141- [ DisableKey] ( src/main/kotlin/com/kotlin/kms/DisableCustomerKey.kt#L37 )
4242- [ EnableKey] ( src/main/kotlin/com/kotlin/kms/EnableCustomerKey.kt#L37 )
43- - [ Encrypt] ( src/main/kotlin/com/kotlin/kms/EncryptDataKey.kt#L42 )
43+ - [ Encrypt] ( src/main/kotlin/com/kotlin/kms/EncryptDataKey.kt#L39 )
4444- [ ListAliases] ( src/main/kotlin/com/kotlin/kms/ListAliases.kt#L23 )
4545- [ ListGrants] ( src/main/kotlin/com/kotlin/kms/ListGrants.kt#L36 )
4646- [ ListKeys] ( src/main/kotlin/com/kotlin/kms/ListKeys.kt#L22 )
@@ -94,4 +94,4 @@ in the `kotlin` folder.
9494
9595Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
9696
97- SPDX-License-Identifier: Apache-2.0
97+ SPDX-License-Identifier: Apache-2.0
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ package com.kotlin.kms
77import aws.sdk.kotlin.services.kms.KmsClient
88import aws.sdk.kotlin.services.kms.model.DecryptRequest
99import aws.sdk.kotlin.services.kms.model.EncryptRequest
10- import java.io.File
1110import kotlin.system.exitProcess
1211// snippet-end:[kms.kotlin_encrypt_data.import]
1312
@@ -25,7 +24,6 @@ suspend fun main(args: Array<String>) {
2524 <keyId> <path>
2625 Where:
2726 keyId - A key id value to describe (for example, xxxxxbcd-12ab-34cd-56ef-1234567890ab).
28-
2927 """
3028
3129 if (args.size != 1 ) {
You can’t perform that action at this time.
0 commit comments