Struct: kms.Client
Overview
Returns a unique asymmetric data key pair for use outside of KMS. This operation returns a plaintext public key and a copy of the private key that is encrypted under the symmetric encryption KMS key you specify. Unlike GenerateDataKeyPair, this operation does not return a plaintext private key. The bytes in the keys are random; they are not related to the caller or to the KMS key that is used to encrypt the private key.
You can use the public key that GenerateDataKeyPairWithoutPlaintext returns to encrypt data or verify a signature outside of KMS. Then, store the encrypted private key with the data. When you are ready to decrypt data or sign a message, you can use the Decryptoperation to decrypt the encrypted private key.
To generate a data key pair, you must specify a symmetric encryption KMS key to encrypt the private key in a data key pair. You cannot use an asymmetric KMS key or a KMS key in a custom key store. To get the type and origin of your KMS key, use the DescribeKeyoperation.
Use the KeyPairSpec parameter to choose an RSA or Elliptic Curve (ECC) data key pair. In China Regions, you can also choose an SM2 data key pair. KMS recommends that you use ECC key pairs for signing, and use RSA and SM2 key pairs for either encryption or signing, but not both. However, KMS cannot enforce any restrictions on the use of data key pairs outside of KMS.
GenerateDataKeyPairWithoutPlaintext returns a unique data key pair for each request. The bytes in the key are not related to the caller or KMS key that is used to encrypt the private key. The public key is a DER-encoded X.509 SubjectPublicKeyInfo, as specified in RFC 5280.
You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext , you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException . For more information, see Encryption Context in the Key Management Service Developer Guide.
The KMS key that you use for this operation must be in a compatible key state. For details, see states of KMS keys[https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html]in the Key Management Service Developer Guide.
Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.
Required permissions: kms:GenerateDataKeyPairWithoutPlaintext (key policy)
Related operations:
Decrypt
Encrypt
GenerateDataKey
GenerateDataKeyPair
GenerateDataKeyWithoutPlaintext
Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.
Implemented Interfaces
types.AnalyticsFilter, kms.DescribeCustomKeyStoresAPIClient, v4.HTTPPresigner, s3.HTTPPresignerV4, kms.ListAliasesAPIClient, kms.ListGrantsAPIClient, kms.ListKeyPoliciesAPIClient, kms.ListKeyRotationsAPIClient, kms.ListKeysAPIClient, kms.ListResourceTagsAPIClient, kms.ListRetirableGrantsAPIClient, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream
Method Summary collapse
- func (c *Client) CancelKeyDeletion(ctx context.Context, params *CancelKeyDeletionInput, optFns ...func(*Options)) (*CancelKeyDeletionOutput, error)
- func (c *Client) ConnectCustomKeyStore(ctx context.Context, params *ConnectCustomKeyStoreInput, optFns ...func(*Options)) (*ConnectCustomKeyStoreOutput, error)
- func (c *Client) CreateAlias(ctx context.Context, params *CreateAliasInput, optFns ...func(*Options)) (*CreateAliasOutput, error)
- func (c *Client) CreateCustomKeyStore(ctx context.Context, params *CreateCustomKeyStoreInput, optFns ...func(*Options)) (*CreateCustomKeyStoreOutput, error)
- func (c *Client) CreateGrant(ctx context.Context, params *CreateGrantInput, optFns ...func(*Options)) (*CreateGrantOutput, error)
- func (c *Client) CreateKey(ctx context.Context, params *CreateKeyInput, optFns ...func(*Options)) (*CreateKeyOutput, error)
- func (c *Client) Decrypt(ctx context.Context, params *DecryptInput, optFns ...func(*Options)) (*DecryptOutput, error)
- func (c *Client) DeleteAlias(ctx context.Context, params *DeleteAliasInput, optFns ...func(*Options)) (*DeleteAliasOutput, error)
- func (c *Client) DeleteCustomKeyStore(ctx context.Context, params *DeleteCustomKeyStoreInput, optFns ...func(*Options)) (*DeleteCustomKeyStoreOutput, error)
- func (c *Client) DeleteImportedKeyMaterial(ctx context.Context, params *DeleteImportedKeyMaterialInput, optFns ...func(*Options)) (*DeleteImportedKeyMaterialOutput, error)
- func (c *Client) DeriveSharedSecret(ctx context.Context, params *DeriveSharedSecretInput, optFns ...func(*Options)) (*DeriveSharedSecretOutput, error)
- func (c *Client) DescribeCustomKeyStores(ctx context.Context, params *DescribeCustomKeyStoresInput, optFns ...func(*Options)) (*DescribeCustomKeyStoresOutput, error)
- func (c *Client) DescribeKey(ctx context.Context, params *DescribeKeyInput, optFns ...func(*Options)) (*DescribeKeyOutput, error)
- func (c *Client) DisableKey(ctx context.Context, params *DisableKeyInput, optFns ...func(*Options)) (*DisableKeyOutput, error)
- func (c *Client) DisableKeyRotation(ctx context.Context, params *DisableKeyRotationInput, optFns ...func(*Options)) (*DisableKeyRotationOutput, error)
- func (c *Client) DisconnectCustomKeyStore(ctx context.Context, params *DisconnectCustomKeyStoreInput, optFns ...func(*Options)) (*DisconnectCustomKeyStoreOutput, error)
- func (c *Client) EnableKey(ctx context.Context, params *EnableKeyInput, optFns ...func(*Options)) (*EnableKeyOutput, error)
- func (c *Client) EnableKeyRotation(ctx context.Context, params *EnableKeyRotationInput, optFns ...func(*Options)) (*EnableKeyRotationOutput, error)
- func (c *Client) Encrypt(ctx context.Context, params *EncryptInput, optFns ...func(*Options)) (*EncryptOutput, error)
- func (c *Client) GenerateDataKey(ctx context.Context, params *GenerateDataKeyInput, optFns ...func(*Options)) (*GenerateDataKeyOutput, error)
- func (c *Client) GenerateDataKeyPair(ctx context.Context, params *GenerateDataKeyPairInput, optFns ...func(*Options)) (*GenerateDataKeyPairOutput, error)
- func (c *Client) GenerateDataKeyPairWithoutPlaintext(ctx context.Context, params *GenerateDataKeyPairWithoutPlaintextInput, optFns ...func(*Options)) (*GenerateDataKeyPairWithoutPlaintextOutput, error)
- func (c *Client) GenerateDataKeyWithoutPlaintext(ctx context.Context, params *GenerateDataKeyWithoutPlaintextInput, optFns ...func(*Options)) (*GenerateDataKeyWithoutPlaintextOutput, error)
- func (c *Client) GenerateMac(ctx context.Context, params *GenerateMacInput, optFns ...func(*Options)) (*GenerateMacOutput, error)
- func (c *Client) GenerateRandom(ctx context.Context, params *GenerateRandomInput, optFns ...func(*Options)) (*GenerateRandomOutput, error)
- func (c *Client) GetKeyPolicy(ctx context.Context, params *GetKeyPolicyInput, optFns ...func(*Options)) (*GetKeyPolicyOutput, error)
- func (c *Client) GetKeyRotationStatus(ctx context.Context, params *GetKeyRotationStatusInput, optFns ...func(*Options)) (*GetKeyRotationStatusOutput, error)
- func (c *Client) GetParametersForImport(ctx context.Context, params *GetParametersForImportInput, optFns ...func(*Options)) (*GetParametersForImportOutput, error)
- func (c *Client) GetPublicKey(ctx context.Context, params *GetPublicKeyInput, optFns ...func(*Options)) (*GetPublicKeyOutput, error)
- func (c *Client) ImportKeyMaterial(ctx context.Context, params *ImportKeyMaterialInput, optFns ...func(*Options)) (*ImportKeyMaterialOutput, error)
- func (c *Client) ListAliases(ctx context.Context, params *ListAliasesInput, optFns ...func(*Options)) (*ListAliasesOutput, error)
- func (c *Client) ListGrants(ctx context.Context, params *ListGrantsInput, optFns ...func(*Options)) (*ListGrantsOutput, error)
- func (c *Client) ListKeyPolicies(ctx context.Context, params *ListKeyPoliciesInput, optFns ...func(*Options)) (*ListKeyPoliciesOutput, error)
- func (c *Client) ListKeyRotations(ctx context.Context, params *ListKeyRotationsInput, optFns ...func(*Options)) (*ListKeyRotationsOutput, error)
- func (c *Client) ListKeys(ctx context.Context, params *ListKeysInput, optFns ...func(*Options)) (*ListKeysOutput, error)
- func (c *Client) ListResourceTags(ctx context.Context, params *ListResourceTagsInput, optFns ...func(*Options)) (*ListResourceTagsOutput, error)
- func (c *Client) ListRetirableGrants(ctx context.Context, params *ListRetirableGrantsInput, optFns ...func(*Options)) (*ListRetirableGrantsOutput, error)
-
func (c *Client) Options() Options
Options returns a copy of the client configuration.
- func (c *Client) PutKeyPolicy(ctx context.Context, params *PutKeyPolicyInput, optFns ...func(*Options)) (*PutKeyPolicyOutput, error)
- func (c *Client) ReEncrypt(ctx context.Context, params *ReEncryptInput, optFns ...func(*Options)) (*ReEncryptOutput, error)
- func (c *Client) ReplicateKey(ctx context.Context, params *ReplicateKeyInput, optFns ...func(*Options)) (*ReplicateKeyOutput, error)
- func (c *Client) RetireGrant(ctx context.Context, params *RetireGrantInput, optFns ...func(*Options)) (*RetireGrantOutput, error)
- func (c *Client) RevokeGrant(ctx context.Context, params *RevokeGrantInput, optFns ...func(*Options)) (*RevokeGrantOutput, error)
- func (c *Client) RotateKeyOnDemand(ctx context.Context, params *RotateKeyOnDemandInput, optFns ...func(*Options)) (*RotateKeyOnDemandOutput, error)
- func (c *Client) ScheduleKeyDeletion(ctx context.Context, params *ScheduleKeyDeletionInput, optFns ...func(*Options)) (*ScheduleKeyDeletionOutput, error)
- func (c *Client) Sign(ctx context.Context, params *SignInput, optFns ...func(*Options)) (*SignOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateAlias(ctx context.Context, params *UpdateAliasInput, optFns ...func(*Options)) (*UpdateAliasOutput, error)
- func (c *Client) UpdateCustomKeyStore(ctx context.Context, params *UpdateCustomKeyStoreInput, optFns ...func(*Options)) (*UpdateCustomKeyStoreOutput, error)
- func (c *Client) UpdateKeyDescription(ctx context.Context, params *UpdateKeyDescriptionInput, optFns ...func(*Options)) (*UpdateKeyDescriptionOutput, error)
- func (c *Client) UpdatePrimaryRegion(ctx context.Context, params *UpdatePrimaryRegionInput, optFns ...func(*Options)) (*UpdatePrimaryRegionOutput, error)
- func (c *Client) Verify(ctx context.Context, params *VerifyInput, optFns ...func(*Options)) (*VerifyOutput, error)
- func (c *Client) VerifyMac(ctx context.Context, params *VerifyMacInput, optFns ...func(*Options)) (*VerifyMacOutput, error)
Method Details
func (c *Client) CancelKeyDeletion(ctx context.Context, params *CancelKeyDeletionInput, optFns ...func(*Options)) (*CancelKeyDeletionOutput, error)
35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
// File 'service/kms/api_op_CancelKeyDeletion.go', line 35
|
func (c *Client) ConnectCustomKeyStore(ctx context.Context, params *ConnectCustomKeyStoreInput, optFns ...func(*Options)) (*ConnectCustomKeyStoreOutput, error)
105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
// File 'service/kms/api_op_ConnectCustomKeyStore.go', line 105
|
func (c *Client) CreateAlias(ctx context.Context, params *CreateAliasInput, optFns ...func(*Options)) (*CreateAliasOutput, error)
68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
// File 'service/kms/api_op_CreateAlias.go', line 68
|
func (c *Client) CreateCustomKeyStore(ctx context.Context, params *CreateCustomKeyStoreInput, optFns ...func(*Options)) (*CreateCustomKeyStoreOutput, error)
97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
// File 'service/kms/api_op_CreateCustomKeyStore.go', line 97
|
func (c *Client) CreateGrant(ctx context.Context, params *CreateGrantInput, optFns ...func(*Options)) (*CreateGrantOutput, error)
72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
// File 'service/kms/api_op_CreateGrant.go', line 72
|
func (c *Client) CreateKey(ctx context.Context, params *CreateKeyInput, optFns ...func(*Options)) (*CreateKeyOutput, error)
184 185 186 187 188 189 190 191 192 193 194 195 196 197 |
// File 'service/kms/api_op_CreateKey.go', line 184
|
func (c *Client) Decrypt(ctx context.Context, params *DecryptInput, optFns ...func(*Options)) (*DecryptOutput, error)
97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
// File 'service/kms/api_op_Decrypt.go', line 97
|
func (c *Client) DeleteAlias(ctx context.Context, params *DeleteAliasInput, optFns ...func(*Options)) (*DeleteAliasOutput, error)
54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
// File 'service/kms/api_op_DeleteAlias.go', line 54
|
func (c *Client) DeleteCustomKeyStore(ctx context.Context, params *DeleteCustomKeyStoreInput, optFns ...func(*Options)) (*DeleteCustomKeyStoreOutput, error)
71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
// File 'service/kms/api_op_DeleteCustomKeyStore.go', line 71
|
func (c *Client) DeleteImportedKeyMaterial(ctx context.Context, params *DeleteImportedKeyMaterialInput, optFns ...func(*Options)) (*DeleteImportedKeyMaterialOutput, error)
42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
// File 'service/kms/api_op_DeleteImportedKeyMaterial.go', line 42
|
func (c *Client) DeriveSharedSecret(ctx context.Context, params *DeriveSharedSecretInput, optFns ...func(*Options)) (*DeriveSharedSecretOutput, error)
95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
// File 'service/kms/api_op_DeriveSharedSecret.go', line 95
|
func (c *Client) DescribeCustomKeyStores(ctx context.Context, params *DescribeCustomKeyStoresInput, optFns ...func(*Options)) (*DescribeCustomKeyStoresOutput, error)
68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
// File 'service/kms/api_op_DescribeCustomKeyStores.go', line 68
|
func (c *Client) DescribeKey(ctx context.Context, params *DescribeKeyInput, optFns ...func(*Options)) (*DescribeKeyOutput, error)
80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
// File 'service/kms/api_op_DescribeKey.go', line 80
|
func (c *Client) DisableKey(ctx context.Context, params *DisableKeyInput, optFns ...func(*Options)) (*DisableKeyOutput, error)
35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
// File 'service/kms/api_op_DisableKey.go', line 35
|
func (c *Client) DisableKeyRotation(ctx context.Context, params *DisableKeyRotationInput, optFns ...func(*Options)) (*DisableKeyRotationOutput, error)
59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
// File 'service/kms/api_op_DisableKeyRotation.go', line 59
|
func (c *Client) DisconnectCustomKeyStore(ctx context.Context, params *DisconnectCustomKeyStoreInput, optFns ...func(*Options)) (*DisconnectCustomKeyStoreOutput, error)
60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
// File 'service/kms/api_op_DisconnectCustomKeyStore.go', line 60
|
func (c *Client) EnableKey(ctx context.Context, params *EnableKeyInput, optFns ...func(*Options)) (*EnableKeyOutput, error)
32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
// File 'service/kms/api_op_EnableKey.go', line 32
|
func (c *Client) EnableKeyRotation(ctx context.Context, params *EnableKeyRotationInput, optFns ...func(*Options)) (*EnableKeyRotationOutput, error)
83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
// File 'service/kms/api_op_EnableKeyRotation.go', line 83
|
func (c *Client) Encrypt(ctx context.Context, params *EncryptInput, optFns ...func(*Options)) (*EncryptOutput, error)
94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
// File 'service/kms/api_op_Encrypt.go', line 94
|
func (c *Client) GenerateDataKey(ctx context.Context, params *GenerateDataKeyInput, optFns ...func(*Options)) (*GenerateDataKeyOutput, error)
112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
// File 'service/kms/api_op_GenerateDataKey.go', line 112
|
func (c *Client) GenerateDataKeyPair(ctx context.Context, params *GenerateDataKeyPairInput, optFns ...func(*Options)) (*GenerateDataKeyPairOutput, error)
103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
// File 'service/kms/api_op_GenerateDataKeyPair.go', line 103
|
func (c *Client) GenerateDataKeyPairWithoutPlaintext(ctx context.Context, params *GenerateDataKeyPairWithoutPlaintextInput, optFns ...func(*Options)) (*GenerateDataKeyPairWithoutPlaintextOutput, error)
77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
// File 'service/kms/api_op_GenerateDataKeyPairWithoutPlaintext.go', line 77
|
func (c *Client) GenerateDataKeyWithoutPlaintext(ctx context.Context, params *GenerateDataKeyWithoutPlaintextInput, optFns ...func(*Options)) (*GenerateDataKeyWithoutPlaintextOutput, error)
87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
// File 'service/kms/api_op_GenerateDataKeyWithoutPlaintext.go', line 87
|
func (c *Client) GenerateMac(ctx context.Context, params *GenerateMacInput, optFns ...func(*Options)) (*GenerateMacOutput, error)
51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
// File 'service/kms/api_op_GenerateMac.go', line 51
|
func (c *Client) GenerateRandom(ctx context.Context, params *GenerateRandomInput, optFns ...func(*Options)) (*GenerateRandomOutput, error)
47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
// File 'service/kms/api_op_GenerateRandom.go', line 47
|
func (c *Client) GetKeyPolicy(ctx context.Context, params *GetKeyPolicyInput, optFns ...func(*Options)) (*GetKeyPolicyOutput, error)
27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
// File 'service/kms/api_op_GetKeyPolicy.go', line 27
|
func (c *Client) GetKeyRotationStatus(ctx context.Context, params *GetKeyRotationStatusInput, optFns ...func(*Options)) (*GetKeyRotationStatusOutput, error)
82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
// File 'service/kms/api_op_GetKeyRotationStatus.go', line 82
|
func (c *Client) GetParametersForImport(ctx context.Context, params *GetParametersForImportInput, optFns ...func(*Options)) (*GetParametersForImportOutput, error)
86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
// File 'service/kms/api_op_GetParametersForImport.go', line 86
|
func (c *Client) GetPublicKey(ctx context.Context, params *GetPublicKeyInput, optFns ...func(*Options)) (*GetPublicKeyOutput, error)
76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
// File 'service/kms/api_op_GetPublicKey.go', line 76
|
func (c *Client) ImportKeyMaterial(ctx context.Context, params *ImportKeyMaterialInput, optFns ...func(*Options)) (*ImportKeyMaterialOutput, error)
119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
// File 'service/kms/api_op_ImportKeyMaterial.go', line 119
|
func (c *Client) ListAliases(ctx context.Context, params *ListAliasesInput, optFns ...func(*Options)) (*ListAliasesOutput, error)
53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
// File 'service/kms/api_op_ListAliases.go', line 53
|
func (c *Client) ListGrants(ctx context.Context, params *ListGrantsInput, optFns ...func(*Options)) (*ListGrantsOutput, error)
52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
// File 'service/kms/api_op_ListGrants.go', line 52
|
func (c *Client) ListKeyPolicies(ctx context.Context, params *ListKeyPoliciesInput, optFns ...func(*Options)) (*ListKeyPoliciesOutput, error)
33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
// File 'service/kms/api_op_ListKeyPolicies.go', line 33
|
func (c *Client) ListKeyRotations(ctx context.Context, params *ListKeyRotationsInput, optFns ...func(*Options)) (*ListKeyRotationsOutput, error)
43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
// File 'service/kms/api_op_ListKeyRotations.go', line 43
|
func (c *Client) ListKeys(ctx context.Context, params *ListKeysInput, optFns ...func(*Options)) (*ListKeysOutput, error)
36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
// File 'service/kms/api_op_ListKeys.go', line 36
|
func (c *Client) ListResourceTags(ctx context.Context, params *ListResourceTagsInput, optFns ...func(*Options)) (*ListResourceTagsOutput, error)
41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
// File 'service/kms/api_op_ListResourceTags.go', line 41
|
func (c *Client) ListRetirableGrants(ctx context.Context, params *ListRetirableGrantsInput, optFns ...func(*Options)) (*ListRetirableGrantsOutput, error)
58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
// File 'service/kms/api_op_ListRetirableGrants.go', line 58
|
func (c *Client) Options() Options
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
221 222 223 |
// File 'service/kms/api_client.go', line 221
|
func (c *Client) PutKeyPolicy(ctx context.Context, params *PutKeyPolicyInput, optFns ...func(*Options)) (*PutKeyPolicyOutput, error)
35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
// File 'service/kms/api_op_PutKeyPolicy.go', line 35
|
func (c *Client) ReEncrypt(ctx context.Context, params *ReEncryptInput, optFns ...func(*Options)) (*ReEncryptOutput, error)
109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
// File 'service/kms/api_op_ReEncrypt.go', line 109
|
func (c *Client) ReplicateKey(ctx context.Context, params *ReplicateKeyInput, optFns ...func(*Options)) (*ReplicateKeyOutput, error)
100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
// File 'service/kms/api_op_ReplicateKey.go', line 100
|
func (c *Client) RetireGrant(ctx context.Context, params *RetireGrantInput, optFns ...func(*Options)) (*RetireGrantOutput, error)
51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
// File 'service/kms/api_op_RetireGrant.go', line 51
|
func (c *Client) RevokeGrant(ctx context.Context, params *RevokeGrantInput, optFns ...func(*Options)) (*RevokeGrantOutput, error)
50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
// File 'service/kms/api_op_RevokeGrant.go', line 50
|
func (c *Client) RotateKeyOnDemand(ctx context.Context, params *RotateKeyOnDemandInput, optFns ...func(*Options)) (*RotateKeyOnDemandOutput, error)
74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
// File 'service/kms/api_op_RotateKeyOnDemand.go', line 74
|
func (c *Client) ScheduleKeyDeletion(ctx context.Context, params *ScheduleKeyDeletionInput, optFns ...func(*Options)) (*ScheduleKeyDeletionOutput, error)
75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
// File 'service/kms/api_op_ScheduleKeyDeletion.go', line 75
|
func (c *Client) Sign(ctx context.Context, params *SignInput, optFns ...func(*Options)) (*SignOutput, error)
70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
// File 'service/kms/api_op_Sign.go', line 70
|
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
// File 'service/kms/api_op_TagResource.go', line 63
|
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
// File 'service/kms/api_op_UntagResource.go', line 54
|
func (c *Client) UpdateAlias(ctx context.Context, params *UpdateAliasInput, optFns ...func(*Options)) (*UpdateAliasOutput, error)
69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
// File 'service/kms/api_op_UpdateAlias.go', line 69
|
func (c *Client) UpdateCustomKeyStore(ctx context.Context, params *UpdateCustomKeyStoreInput, optFns ...func(*Options)) (*UpdateCustomKeyStoreOutput, error)
100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
// File 'service/kms/api_op_UpdateCustomKeyStore.go', line 100
|
func (c *Client) UpdateKeyDescription(ctx context.Context, params *UpdateKeyDescriptionInput, optFns ...func(*Options)) (*UpdateKeyDescriptionOutput, error)
35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
// File 'service/kms/api_op_UpdateKeyDescription.go', line 35
|
func (c *Client) UpdatePrimaryRegion(ctx context.Context, params *UpdatePrimaryRegionInput, optFns ...func(*Options)) (*UpdatePrimaryRegionOutput, error)
87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
// File 'service/kms/api_op_UpdatePrimaryRegion.go', line 87
|
func (c *Client) Verify(ctx context.Context, params *VerifyInput, optFns ...func(*Options)) (*VerifyOutput, error)
64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
// File 'service/kms/api_op_Verify.go', line 64
|
func (c *Client) VerifyMac(ctx context.Context, params *VerifyMacInput, optFns ...func(*Options)) (*VerifyMacOutput, error)
46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
// File 'service/kms/api_op_VerifyMac.go', line 46
|