This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

CLIs

1 - Change Rotate Info

1.1 - 1.1

scpcli kms kms change rotate info
--key_id <value>
--rotate_cycle <value>
--auto_rotate <value>

Description

Change rotate info.

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
rotate_cycle
required
integerRotation cycle7
auto_rotate
required
stringAuto rotate Y or NY

1.2 - 1.0

scpcli kms kms change rotate info
--key_id <value>
--rotate_cycle <value>
--auto_rotate <value>

Description

Change rotate info.

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
rotate_cycle
required
integerRotation cycle7
auto_rotate
required
stringAuto rotate Y or NY

2 - Change State Of Key

2.1 - 1.1

scpcli kms kms change state
--key_id <value>
--state <value>

Description

Change state of key.

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
state
required
stringState of key(Active, Stop)Active

2.2 - 1.0

scpcli kms kms change state
--key_id <value>
--state <value>

Description

Change state of key.

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
state
required
stringState of key(Active, Stop)Active

3 - Check Duplicate Name

3.1 - 1.1

scpcli kms kms check duplicate name
--name <value>

Description

Check duplication of key name.

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
name
required
stringName of keytestkey

Responses

NameDescriptionExample
isDuplicateNameTrue

3.2 - 1.0

scpcli kms kms check duplicate name
--name <value>

Description

Check duplication of key name.

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
name
required
stringName of keytestkey

Responses

NameDescriptionExample
isDuplicateNameTrue

4 - Create Datakey

4.1 - 1.1

scpcli kms kms datakey
--key_id <value>
--key_type <value>

Description

Generates a new key and the value encrypted with key(Purpose: encryption/decryption).

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
key_type
required
stringKey type( plaintext or wrapped )plaintext

Responses

NameDescriptionExample
ciphertextEncrypted data keyvault:v283:YiUpW1bpF2fMY0VR33aQpik781Ul2gFPsfdwsypwouccHtPSfRaE40wTHHl4a5AK
key_versionVersion of KMS key1
plaintextData key(base64 encoded)oTvvEkE7q0WM2S5yfGFz5nqe32QMlrCVnqssmDPu6fA=

4.2 - 1.0

scpcli kms kms datakey
--key_id <value>
--key_type <value>

Description

Generates a new key and the value encrypted with key(Purpose: encryption/decryption).

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
key_type
required
stringKey type( plaintext or wrapped )plaintext

Responses

NameDescriptionExample
ciphertextEncrypted data keyvault:v283:YiUpW1bpF2fMY0VR33aQpik781Ul2gFPsfdwsypwouccHtPSfRaE40wTHHl4a5AK
key_versionVersion of KMS key1
plaintextData key(base64 encoded)oTvvEkE7q0WM2S5yfGFz5nqe32QMlrCVnqssmDPu6fA=

5 - Create Key

5.1 - 1.1

scpcli kms kms create
--rotate_cycle <value>
--purpose <value>
--name <value>
--description <value>
--auto_rotate <value>
[--key_type <value>]
[--tags <value>]

Description

Create key.

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
rotate_cycle
required
integerRotation cycle7
purpose
required
stringPurpose of keyrsa-2048
name
required
stringName of keytestkey
description
required
stringDescription of Keydescription1
auto_rotate
required
stringAuto rotate Y or NY
key_type
optional
stringbasic or advancedadvanced
tags
optional
arrayTag List''{"key": "", "value": ""}'

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
account_idAccount ID3265ab469f0d406d83073da3e11e7a6c
auto_rotateAuto rotate Y or NY
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
current_versionCurrent version of KMS key7
delete_atDate of deletion20251008
delete_target_ynDeleteTargetYn of KeyY
descriptionDescription of Keydescription1
key_typebasic or advancedadvanced
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameName of keytestkey
next_rotate_atDate of next rotate20241008
order_refReference of order0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
purposePurpose of keyrsa-2048
regionName of regionkr-west1
rotate_cycleRotation cycle7
secret_refReference of secret0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
stateState of key(Creating, Active, Error, Stop, To_Be_Terminated)Active
use_countUse count of KMS key1004

5.2 - 1.0

scpcli kms kms create
--rotate_cycle <value>
--purpose <value>
--name <value>
--description <value>
--auto_rotate <value>
[--key_type <value>]
[--tags <value>]

Description

Create key.

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
rotate_cycle
required
integerRotation cycle7
purpose
required
stringPurpose of keyrsa-2048
name
required
stringName of keytestkey
description
required
stringDescription of Keydescription1
auto_rotate
required
stringAuto rotate Y or NY
key_type
optional
stringbasic or advancedadvanced
tags
optional
arrayTag List''{"key": "", "value": ""}'

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
account_idAccount ID3265ab469f0d406d83073da3e11e7a6c
auto_rotateAuto rotate Y or NY
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
current_versionCurrent version of KMS key7
delete_atDate of deletion20251008
delete_target_ynDeleteTargetYn of KeyY
descriptionDescription of Keydescription1
key_typebasic or advancedadvanced
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameName of keytestkey
next_rotate_atDate of next rotate20241008
order_refReference of order0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
purposePurpose of keyrsa-2048
regionName of regionkr-west1
rotate_cycleRotation cycle7
secret_refReference of secret0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
stateState of key(Creating, Active, Error, Stop, To_Be_Terminated)Active
use_countUse count of KMS key1004

6 - Decrypt Data

6.1 - 1.1

scpcli kms kms decrypt
--key_id <value>
--ciphertext <value>

Description

Decrypts the provided ciphertext using key(Purpose: encryption/decryption).

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
ciphertext
required
stringEncrypted data by KMSvault:v283:YiUpW1bpF2fMY0VR332Qpik781Ul2gFPsfdwsypwouccHtPSfRaE40wTHHl4a5AK

Responses

NameDescriptionExample
plaintextDecrypted data(base64 encoded)dGhlIHF1aWNrIGJyb3duIGZveAo=

6.2 - 1.0

scpcli kms kms decrypt
--key_id <value>
--ciphertext <value>

Description

Decrypts the provided ciphertext using key(Purpose: encryption/decryption).

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
ciphertext
required
stringEncrypted data by KMSvault:v283:YiUpW1bpF2fMY0VR332Qpik781Ul2gFPsfdwsypwouccHtPSfRaE40wTHHl4a5AK

Responses

NameDescriptionExample
plaintextDecrypted data(base64 encoded)dGhlIHF1aWNrIGJyb3duIGZveAo=

7 - Delete Key

7.1 - 1.1

scpcli kms kms delete
--key_id <value>
[--is_directly <value>]

Description

Delete a key now or later.

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
is_directly
optional
booleanDelete immediatelyTrue

7.2 - 1.0

scpcli kms kms delete
--key_id <value>
[--is_directly <value>]

Description

Delete a key now or later.

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
is_directly
optional
booleanDelete immediatelyTrue

8 - Encrypt Data

8.1 - 1.1

scpcli kms kms encrypt
--key_id <value>
--plaintext <value>

Description

Encrypts the provided plaintext(base64 encoded) using key(Purpose: encryption/decryption)

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
plaintext
required
stringData(base64 encoded) to encryptdGhlIHF1aWNrIGJyb3duIGZveAo=

Responses

NameDescriptionExample
ciphertextEncrypted data by KMSvault:v283:YiUpW1bpF2fMY0VRh3aQpik781Ul2gFPsfdwsypwouccHtPSfRaE40wTHHl4a5AK
key_versionVersion of KMS key1

8.2 - 1.0

scpcli kms kms encrypt
--key_id <value>
--plaintext <value>

Description

Encrypts the provided plaintext(base64 encoded) using key(Purpose: encryption/decryption)

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
plaintext
required
stringData(base64 encoded) to encryptdGhlIHF1aWNrIGJyb3duIGZveAo=

Responses

NameDescriptionExample
ciphertextEncrypted data by KMSvault:v283:YiUpW1bpF2fMY0VRh3aQpik781Ul2gFPsfdwsypwouccHtPSfRaE40wTHHl4a5AK
key_versionVersion of KMS key1

9 - List Keys

9.1 - 1.1

scpcli kms kms list
[--size <value>]
[--page <value>]
[--sort <value>]
[--name <value>]

Description

List keys.

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
size
optional
integersize20
page
optional
integerpage0
sort
optional
stringsortcreated_at:desc
name
optional
stringName of keytestkey

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
account_idAccount ID3265ab469f0d406d83073da3e11e7a6c
auto_rotateAuto rotate Y or NY
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
current_versionCurrent version of KMS key7
delete_atDate of deletion20251008
delete_target_ynDeleteTargetYn of KeyY
descriptionDescription of Keydescription1
key_typebasic or advancedadvanced
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameName of keytestkey
next_rotate_atDate of next rotate20241008
order_refReference of order0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
purposePurpose of keyrsa-2048
regionName of regionkr-west1
rotate_cycleRotation cycle7
secret_refReference of secret0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
stateState of key(Creating, Active, Error, Stop, To_Be_Terminated)Active
use_countUse count of KMS key1004

9.2 - 1.0

scpcli kms kms list
[--size <value>]
[--page <value>]
[--sort <value>]
[--name <value>]

Description

List keys.

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
size
optional
integersize20
page
optional
integerpage0
sort
optional
stringsortcreated_at:desc
name
optional
stringName of keytestkey

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
account_idAccount ID3265ab469f0d406d83073da3e11e7a6c
auto_rotateAuto rotate Y or NY
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
current_versionCurrent version of KMS key7
delete_atDate of deletion20251008
delete_target_ynDeleteTargetYn of KeyY
descriptionDescription of Keydescription1
key_typebasic or advancedadvanced
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameName of keytestkey
next_rotate_atDate of next rotate20241008
order_refReference of order0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
purposePurpose of keyrsa-2048
regionName of regionkr-west1
rotate_cycleRotation cycle7
secret_refReference of secret0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
stateState of key(Creating, Active, Error, Stop, To_Be_Terminated)Active
use_countUse count of KMS key1004

10 - List Users

10.1 - 1.1

scpcli kms kms list users
--key_id <value>

Description

Get List of users who use key.

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2

Responses

NameDescriptionExample
user_idUser ID138c2fc8c29a449dbfa8681f8f1d78e2
user_nameUser Namekimsamsung

10.2 - 1.0

scpcli kms kms list users
--key_id <value>

Description

Get List of users who use key.

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2

Responses

NameDescriptionExample
user_idUser ID138c2fc8c29a449dbfa8681f8f1d78e2
user_nameUser Namekimsamsung

11 - Make hmac

11.1 - 1.1

scpcli kms kms generate hmac
--key_id <value>
--input <value>

Description

Generates a HMAC using key(Purpose: create/verification).

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
input
required
stringData(base64 encoded) for verificationdGVzdCBpbnB1dA==

Responses

NameDescriptionExample
hmacHMAC datavault:v1:/IHSD+Rg9BHNkmIiEunAPVj6IVaJqkjSO4GGvALHcVQ=

11.2 - 1.0

scpcli kms kms generate hmac
--key_id <value>
--input <value>

Description

Generates a HMAC using key(Purpose: create/verification).

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
input
required
stringData(base64 encoded) for verificationdGVzdCBpbnB1dA==

Responses

NameDescriptionExample
hmacHMAC datavault:v1:/IHSD+Rg9BHNkmIiEunAPVj6IVaJqkjSO4GGvALHcVQ=

12 - Rewrap Data

12.1 - 1.1

scpcli kms kms rewrap
--key_id <value>
--ciphertext <value>

Description

Rewraps the provided ciphertext using the latest version of key(Purpose: encryption/decryption).

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
ciphertext
required
stringEncrypted data by KMSvault:v283:YiUpW1bpF2fMY0VR33aQpik781Ul2gFPsfdwsypwouccHtPSfRaE40wTHHl4a5AK

Responses

NameDescriptionExample
ciphertextRewrapped data by KMSvault:v283:YiUpW1bpF2fMY0VR33aQpik781Ul2gFPsfdwsypwouccHtPSfRaE40wTHHl4a5AK
key_versionVersion of KMS key1

12.2 - 1.0

scpcli kms kms rewrap
--key_id <value>
--ciphertext <value>

Description

Rewraps the provided ciphertext using the latest version of key(Purpose: encryption/decryption).

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
ciphertext
required
stringEncrypted data by KMSvault:v283:YiUpW1bpF2fMY0VR33aQpik781Ul2gFPsfdwsypwouccHtPSfRaE40wTHHl4a5AK

Responses

NameDescriptionExample
ciphertextRewrapped data by KMSvault:v283:YiUpW1bpF2fMY0VR33aQpik781Ul2gFPsfdwsypwouccHtPSfRaE40wTHHl4a5AK
key_versionVersion of KMS key1

13 - Rotate Key

13.1 - 1.1

scpcli kms kms rotate
--key_id <value>

Description

Rotate key.

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
account_idAccount ID3265ab469f0d406d83073da3e11e7a6c
auto_rotateAuto rotate Y or NY
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
current_versionCurrent version of KMS key7
delete_atDate of deletion20251008
delete_target_ynDeleteTargetYn of KeyY
descriptionDescription of Keydescription1
key_typebasic or advancedadvanced
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameName of keytestkey
next_rotate_atDate of next rotate20241008
order_refReference of order0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
purposePurpose of keyrsa-2048
regionName of regionkr-west1
rotate_cycleRotation cycle7
secret_refReference of secret0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
stateState of key(Creating, Active, Error, Stop, To_Be_Terminated)Active
use_countUse count of KMS key1004

13.2 - 1.0

scpcli kms kms rotate
--key_id <value>

Description

Rotate key.

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
account_idAccount ID3265ab469f0d406d83073da3e11e7a6c
auto_rotateAuto rotate Y or NY
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
current_versionCurrent version of KMS key7
delete_atDate of deletion20251008
delete_target_ynDeleteTargetYn of KeyY
descriptionDescription of Keydescription1
key_typebasic or advancedadvanced
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameName of keytestkey
next_rotate_atDate of next rotate20241008
order_refReference of order0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
purposePurpose of keyrsa-2048
regionName of regionkr-west1
rotate_cycleRotation cycle7
secret_refReference of secret0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
stateState of key(Creating, Active, Error, Stop, To_Be_Terminated)Active
use_countUse count of KMS key1004

14 - Show Key

14.1 - 1.1

scpcli kms kms show
--key_id <value>

Description

Show key.

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
account_idAccount ID3265ab469f0d406d83073da3e11e7a6c
auto_rotateAuto rotate Y or NY
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
current_versionCurrent version of KMS key7
delete_atDate of deletion20251008
delete_target_ynDeleteTargetYn of KeyY
descriptionDescription of Keydescription1
key_typebasic or advancedadvanced
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameName of keytestkey
next_rotate_atDate of next rotate20241008
order_refReference of order0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
purposePurpose of keyrsa-2048
regionName of regionkr-west1
rotate_cycleRotation cycle7
secret_refReference of secret0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
stateState of key(Creating, Active, Error, Stop, To_Be_Terminated)Active
use_countUse count of KMS key1004

14.2 - 1.0

scpcli kms kms show
--key_id <value>

Description

Show key.

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
account_idAccount ID3265ab469f0d406d83073da3e11e7a6c
auto_rotateAuto rotate Y or NY
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
current_versionCurrent version of KMS key7
delete_atDate of deletion20251008
delete_target_ynDeleteTargetYn of KeyY
descriptionDescription of Keydescription1
key_typebasic or advancedadvanced
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameName of keytestkey
next_rotate_atDate of next rotate20241008
order_refReference of order0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
purposePurpose of keyrsa-2048
regionName of regionkr-west1
rotate_cycleRotation cycle7
secret_refReference of secret0e1bfdf8-a7da-43d3-8e8c-c9f34024ba01
stateState of key(Creating, Active, Error, Stop, To_Be_Terminated)Active
use_countUse count of KMS key1004

15 - Sign Data

15.1 - 1.1

scpcli kms kms sign
--key_id <value>
--input <value>

Description

Returns the cryptographic signature of the given data using key(Purpose: signature/verification).

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
input
required
stringData(base64 encoded) for SignaturedGVzdCBpbnB1dA==

Responses

NameDescriptionExample
key_versionVersion of KMS key1
signatureSignature datavault:v142:MEUCIQDt+iM27ZENLTxFCKH2krlvn2xRRuoqt8aU+xP/RYEJpgIgN6V6QjhpK4dA/vwgX95UW140ge167ECnLjccXDPbZAg=

15.2 - 1.0

scpcli kms kms sign
--key_id <value>
--input <value>

Description

Returns the cryptographic signature of the given data using key(Purpose: signature/verification).

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
input
required
stringData(base64 encoded) for SignaturedGVzdCBpbnB1dA==

Responses

NameDescriptionExample
key_versionVersion of KMS key1
signatureSignature datavault:v142:MEUCIQDt+iM27ZENLTxFCKH2krlvn2xRRuoqt8aU+xP/RYEJpgIgN6V6QjhpK4dA/vwgX95UW140ge167ECnLjccXDPbZAg=

16 - Update Description

16.1 - 1.1

scpcli kms kms update description
--key_id <value>
--description <value>

Description

Update description.

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
description
required
stringDescription of Key-

16.2 - 1.0

scpcli kms kms update description
--key_id <value>
--description <value>

Description

Update description.

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
description
required
stringDescription of Key-

17 - Verify Data

17.1 - 1.1

scpcli kms kms verify
--key_id <value>
--signature <value>
--input <value>

Description

Returns whether the provided signature is valid for the given data from either the sign data using key(Purpose: signature/verification).

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
signature
required
stringSignature datavault:v142:MEUCIQDt+iM27ZENLTxFCKH2krlvn2xRRuoqt8aU+xP/RYEJpgIgN6V6QjhpK4dA/vwgX95UW140ge167ECnLjccXDPbZAg=
input
required
stringData(base64 encoded) for verificationdGVzdCBpbnB1dA==

Responses

NameDescriptionExample
validVerify resultTrue

17.2 - 1.0

scpcli kms kms verify
--key_id <value>
--signature <value>
--input <value>

Description

Returns whether the provided signature is valid for the given data from either the sign data using key(Purpose: signature/verification).

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
signature
required
stringSignature datavault:v142:MEUCIQDt+iM27ZENLTxFCKH2krlvn2xRRuoqt8aU+xP/RYEJpgIgN6V6QjhpK4dA/vwgX95UW140ge167ECnLjccXDPbZAg=
input
required
stringData(base64 encoded) for verificationdGVzdCBpbnB1dA==

Responses

NameDescriptionExample
validVerify resultTrue

18 - Verify hmac with input

18.1 - 1.1

scpcli kms kms verify hmac
--key_id <value>
--input <value>
--hmac <value>

Description

Returns whether the INPUT value is VALID or not using key(Purpose: create/verification).

State ACTIVE (CURRENT)

VersionSupported Until
1.1-

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
input
required
stringData(base64 encoded) for verificationdGVzdCBpbnB1dA==
hmac
required
stringSignature datavault:v142:MEUCIQDt+iM27ZENLTxFCKH2krlvn2xRRuoqt8aU+xP/RYEJpgIgN6V6QjhpK4dA/vwgX95UW140ge167ECnLjccXDPbZAg=

Responses

NameDescriptionExample
validVerify resultTrue

18.2 - 1.0

scpcli kms kms verify hmac
--key_id <value>
--input <value>
--hmac <value>

Description

Returns whether the INPUT value is VALID or not using key(Purpose: create/verification).

State ACTIVE (DEPRECATED)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
key_id
required
stringResource id of KMS key138c2fc8c29a449dbfa8681f8f1d78e2
input
required
stringData(base64 encoded) for verificationdGVzdCBpbnB1dA==
hmac
required
stringSignature datavault:v142:MEUCIQDt+iM27ZENLTxFCKH2krlvn2xRRuoqt8aU+xP/RYEJpgIgN6V6QjhpK4dA/vwgX95UW140ge167ECnLjccXDPbZAg=

Responses

NameDescriptionExample
validVerify resultTrue