Documentation ¶
Index ¶
- func GenReqDefForBatchCreateKmsTags() *def.HttpRequestDef
- func GenReqDefForCancelGrant() *def.HttpRequestDef
- func GenReqDefForCancelKeyDeletion() *def.HttpRequestDef
- func GenReqDefForCancelSelfGrant() *def.HttpRequestDef
- func GenReqDefForCreateDatakey() *def.HttpRequestDef
- func GenReqDefForCreateDatakeyWithoutPlaintext() *def.HttpRequestDef
- func GenReqDefForCreateGrant() *def.HttpRequestDef
- func GenReqDefForCreateKey() *def.HttpRequestDef
- func GenReqDefForCreateKeyStore() *def.HttpRequestDef
- func GenReqDefForCreateKmsTag() *def.HttpRequestDef
- func GenReqDefForCreateParametersForImport() *def.HttpRequestDef
- func GenReqDefForCreateRandom() *def.HttpRequestDef
- func GenReqDefForDecryptData() *def.HttpRequestDef
- func GenReqDefForDecryptDatakey() *def.HttpRequestDef
- func GenReqDefForDeleteImportedKeyMaterial() *def.HttpRequestDef
- func GenReqDefForDeleteKey() *def.HttpRequestDef
- func GenReqDefForDeleteKeyStore() *def.HttpRequestDef
- func GenReqDefForDeleteTag() *def.HttpRequestDef
- func GenReqDefForDisableKey() *def.HttpRequestDef
- func GenReqDefForDisableKeyRotation() *def.HttpRequestDef
- func GenReqDefForDisableKeyStore() *def.HttpRequestDef
- func GenReqDefForEnableKey() *def.HttpRequestDef
- func GenReqDefForEnableKeyRotation() *def.HttpRequestDef
- func GenReqDefForEnableKeyStore() *def.HttpRequestDef
- func GenReqDefForEncryptData() *def.HttpRequestDef
- func GenReqDefForEncryptDatakey() *def.HttpRequestDef
- func GenReqDefForImportKeyMaterial() *def.HttpRequestDef
- func GenReqDefForListGrants() *def.HttpRequestDef
- func GenReqDefForListKeyDetail() *def.HttpRequestDef
- func GenReqDefForListKeyStores() *def.HttpRequestDef
- func GenReqDefForListKeys() *def.HttpRequestDef
- func GenReqDefForListKmsByTags() *def.HttpRequestDef
- func GenReqDefForListKmsTags() *def.HttpRequestDef
- func GenReqDefForListRetirableGrants() *def.HttpRequestDef
- func GenReqDefForShowKeyRotationStatus() *def.HttpRequestDef
- func GenReqDefForShowKeyStore() *def.HttpRequestDef
- func GenReqDefForShowKmsTags() *def.HttpRequestDef
- func GenReqDefForShowPublicKey() *def.HttpRequestDef
- func GenReqDefForShowUserInstances() *def.HttpRequestDef
- func GenReqDefForShowUserQuotas() *def.HttpRequestDef
- func GenReqDefForShowVersion() *def.HttpRequestDef
- func GenReqDefForShowVersions() *def.HttpRequestDef
- func GenReqDefForSign() *def.HttpRequestDef
- func GenReqDefForUpdateKeyAlias() *def.HttpRequestDef
- func GenReqDefForUpdateKeyDescription() *def.HttpRequestDef
- func GenReqDefForUpdateKeyRotationInterval() *def.HttpRequestDef
- func GenReqDefForValidateSignature() *def.HttpRequestDef
- func KmsClientBuilder() *http_client.HcHttpClientBuilder
- type BatchCreateKmsTagsInvoker
- type CancelGrantInvoker
- type CancelKeyDeletionInvoker
- type CancelSelfGrantInvoker
- type CreateDatakeyInvoker
- type CreateDatakeyWithoutPlaintextInvoker
- type CreateGrantInvoker
- type CreateKeyInvoker
- type CreateKeyStoreInvoker
- type CreateKmsTagInvoker
- type CreateParametersForImportInvoker
- type CreateRandomInvoker
- type DecryptDataInvoker
- type DecryptDatakeyInvoker
- type DeleteImportedKeyMaterialInvoker
- type DeleteKeyInvoker
- type DeleteKeyStoreInvoker
- type DeleteTagInvoker
- type DisableKeyInvoker
- type DisableKeyRotationInvoker
- type DisableKeyStoreInvoker
- type EnableKeyInvoker
- type EnableKeyRotationInvoker
- type EnableKeyStoreInvoker
- type EncryptDataInvoker
- type EncryptDatakeyInvoker
- type ImportKeyMaterialInvoker
- type KmsClient
- func (c *KmsClient) BatchCreateKmsTags(request *model.BatchCreateKmsTagsRequest) (*model.BatchCreateKmsTagsResponse, error)
- func (c *KmsClient) BatchCreateKmsTagsInvoker(request *model.BatchCreateKmsTagsRequest) *BatchCreateKmsTagsInvoker
- func (c *KmsClient) CancelGrant(request *model.CancelGrantRequest) (*model.CancelGrantResponse, error)
- func (c *KmsClient) CancelGrantInvoker(request *model.CancelGrantRequest) *CancelGrantInvoker
- func (c *KmsClient) CancelKeyDeletion(request *model.CancelKeyDeletionRequest) (*model.CancelKeyDeletionResponse, error)
- func (c *KmsClient) CancelKeyDeletionInvoker(request *model.CancelKeyDeletionRequest) *CancelKeyDeletionInvoker
- func (c *KmsClient) CancelSelfGrant(request *model.CancelSelfGrantRequest) (*model.CancelSelfGrantResponse, error)
- func (c *KmsClient) CancelSelfGrantInvoker(request *model.CancelSelfGrantRequest) *CancelSelfGrantInvoker
- func (c *KmsClient) CreateDatakey(request *model.CreateDatakeyRequest) (*model.CreateDatakeyResponse, error)
- func (c *KmsClient) CreateDatakeyInvoker(request *model.CreateDatakeyRequest) *CreateDatakeyInvoker
- func (c *KmsClient) CreateDatakeyWithoutPlaintext(request *model.CreateDatakeyWithoutPlaintextRequest) (*model.CreateDatakeyWithoutPlaintextResponse, error)
- func (c *KmsClient) CreateDatakeyWithoutPlaintextInvoker(request *model.CreateDatakeyWithoutPlaintextRequest) *CreateDatakeyWithoutPlaintextInvoker
- func (c *KmsClient) CreateGrant(request *model.CreateGrantRequest) (*model.CreateGrantResponse, error)
- func (c *KmsClient) CreateGrantInvoker(request *model.CreateGrantRequest) *CreateGrantInvoker
- func (c *KmsClient) CreateKey(request *model.CreateKeyRequest) (*model.CreateKeyResponse, error)
- func (c *KmsClient) CreateKeyInvoker(request *model.CreateKeyRequest) *CreateKeyInvoker
- func (c *KmsClient) CreateKeyStore(request *model.CreateKeyStoreRequest) (*model.CreateKeyStoreResponse, error)
- func (c *KmsClient) CreateKeyStoreInvoker(request *model.CreateKeyStoreRequest) *CreateKeyStoreInvoker
- func (c *KmsClient) CreateKmsTag(request *model.CreateKmsTagRequest) (*model.CreateKmsTagResponse, error)
- func (c *KmsClient) CreateKmsTagInvoker(request *model.CreateKmsTagRequest) *CreateKmsTagInvoker
- func (c *KmsClient) CreateParametersForImport(request *model.CreateParametersForImportRequest) (*model.CreateParametersForImportResponse, error)
- func (c *KmsClient) CreateParametersForImportInvoker(request *model.CreateParametersForImportRequest) *CreateParametersForImportInvoker
- func (c *KmsClient) CreateRandom(request *model.CreateRandomRequest) (*model.CreateRandomResponse, error)
- func (c *KmsClient) CreateRandomInvoker(request *model.CreateRandomRequest) *CreateRandomInvoker
- func (c *KmsClient) DecryptData(request *model.DecryptDataRequest) (*model.DecryptDataResponse, error)
- func (c *KmsClient) DecryptDataInvoker(request *model.DecryptDataRequest) *DecryptDataInvoker
- func (c *KmsClient) DecryptDatakey(request *model.DecryptDatakeyRequest) (*model.DecryptDatakeyResponse, error)
- func (c *KmsClient) DecryptDatakeyInvoker(request *model.DecryptDatakeyRequest) *DecryptDatakeyInvoker
- func (c *KmsClient) DeleteImportedKeyMaterial(request *model.DeleteImportedKeyMaterialRequest) (*model.DeleteImportedKeyMaterialResponse, error)
- func (c *KmsClient) DeleteImportedKeyMaterialInvoker(request *model.DeleteImportedKeyMaterialRequest) *DeleteImportedKeyMaterialInvoker
- func (c *KmsClient) DeleteKey(request *model.DeleteKeyRequest) (*model.DeleteKeyResponse, error)
- func (c *KmsClient) DeleteKeyInvoker(request *model.DeleteKeyRequest) *DeleteKeyInvoker
- func (c *KmsClient) DeleteKeyStore(request *model.DeleteKeyStoreRequest) (*model.DeleteKeyStoreResponse, error)
- func (c *KmsClient) DeleteKeyStoreInvoker(request *model.DeleteKeyStoreRequest) *DeleteKeyStoreInvoker
- func (c *KmsClient) DeleteTag(request *model.DeleteTagRequest) (*model.DeleteTagResponse, error)
- func (c *KmsClient) DeleteTagInvoker(request *model.DeleteTagRequest) *DeleteTagInvoker
- func (c *KmsClient) DisableKey(request *model.DisableKeyRequest) (*model.DisableKeyResponse, error)
- func (c *KmsClient) DisableKeyInvoker(request *model.DisableKeyRequest) *DisableKeyInvoker
- func (c *KmsClient) DisableKeyRotation(request *model.DisableKeyRotationRequest) (*model.DisableKeyRotationResponse, error)
- func (c *KmsClient) DisableKeyRotationInvoker(request *model.DisableKeyRotationRequest) *DisableKeyRotationInvoker
- func (c *KmsClient) DisableKeyStore(request *model.DisableKeyStoreRequest) (*model.DisableKeyStoreResponse, error)
- func (c *KmsClient) DisableKeyStoreInvoker(request *model.DisableKeyStoreRequest) *DisableKeyStoreInvoker
- func (c *KmsClient) EnableKey(request *model.EnableKeyRequest) (*model.EnableKeyResponse, error)
- func (c *KmsClient) EnableKeyInvoker(request *model.EnableKeyRequest) *EnableKeyInvoker
- func (c *KmsClient) EnableKeyRotation(request *model.EnableKeyRotationRequest) (*model.EnableKeyRotationResponse, error)
- func (c *KmsClient) EnableKeyRotationInvoker(request *model.EnableKeyRotationRequest) *EnableKeyRotationInvoker
- func (c *KmsClient) EnableKeyStore(request *model.EnableKeyStoreRequest) (*model.EnableKeyStoreResponse, error)
- func (c *KmsClient) EnableKeyStoreInvoker(request *model.EnableKeyStoreRequest) *EnableKeyStoreInvoker
- func (c *KmsClient) EncryptData(request *model.EncryptDataRequest) (*model.EncryptDataResponse, error)
- func (c *KmsClient) EncryptDataInvoker(request *model.EncryptDataRequest) *EncryptDataInvoker
- func (c *KmsClient) EncryptDatakey(request *model.EncryptDatakeyRequest) (*model.EncryptDatakeyResponse, error)
- func (c *KmsClient) EncryptDatakeyInvoker(request *model.EncryptDatakeyRequest) *EncryptDatakeyInvoker
- func (c *KmsClient) ImportKeyMaterial(request *model.ImportKeyMaterialRequest) (*model.ImportKeyMaterialResponse, error)
- func (c *KmsClient) ImportKeyMaterialInvoker(request *model.ImportKeyMaterialRequest) *ImportKeyMaterialInvoker
- func (c *KmsClient) ListGrants(request *model.ListGrantsRequest) (*model.ListGrantsResponse, error)
- func (c *KmsClient) ListGrantsInvoker(request *model.ListGrantsRequest) *ListGrantsInvoker
- func (c *KmsClient) ListKeyDetail(request *model.ListKeyDetailRequest) (*model.ListKeyDetailResponse, error)
- func (c *KmsClient) ListKeyDetailInvoker(request *model.ListKeyDetailRequest) *ListKeyDetailInvoker
- func (c *KmsClient) ListKeyStores(request *model.ListKeyStoresRequest) (*model.ListKeyStoresResponse, error)
- func (c *KmsClient) ListKeyStoresInvoker(request *model.ListKeyStoresRequest) *ListKeyStoresInvoker
- func (c *KmsClient) ListKeys(request *model.ListKeysRequest) (*model.ListKeysResponse, error)
- func (c *KmsClient) ListKeysInvoker(request *model.ListKeysRequest) *ListKeysInvoker
- func (c *KmsClient) ListKmsByTags(request *model.ListKmsByTagsRequest) (*model.ListKmsByTagsResponse, error)
- func (c *KmsClient) ListKmsByTagsInvoker(request *model.ListKmsByTagsRequest) *ListKmsByTagsInvoker
- func (c *KmsClient) ListKmsTags(request *model.ListKmsTagsRequest) (*model.ListKmsTagsResponse, error)
- func (c *KmsClient) ListKmsTagsInvoker(request *model.ListKmsTagsRequest) *ListKmsTagsInvoker
- func (c *KmsClient) ListRetirableGrants(request *model.ListRetirableGrantsRequest) (*model.ListRetirableGrantsResponse, error)
- func (c *KmsClient) ListRetirableGrantsInvoker(request *model.ListRetirableGrantsRequest) *ListRetirableGrantsInvoker
- func (c *KmsClient) ShowKeyRotationStatus(request *model.ShowKeyRotationStatusRequest) (*model.ShowKeyRotationStatusResponse, error)
- func (c *KmsClient) ShowKeyRotationStatusInvoker(request *model.ShowKeyRotationStatusRequest) *ShowKeyRotationStatusInvoker
- func (c *KmsClient) ShowKeyStore(request *model.ShowKeyStoreRequest) (*model.ShowKeyStoreResponse, error)
- func (c *KmsClient) ShowKeyStoreInvoker(request *model.ShowKeyStoreRequest) *ShowKeyStoreInvoker
- func (c *KmsClient) ShowKmsTags(request *model.ShowKmsTagsRequest) (*model.ShowKmsTagsResponse, error)
- func (c *KmsClient) ShowKmsTagsInvoker(request *model.ShowKmsTagsRequest) *ShowKmsTagsInvoker
- func (c *KmsClient) ShowPublicKey(request *model.ShowPublicKeyRequest) (*model.ShowPublicKeyResponse, error)
- func (c *KmsClient) ShowPublicKeyInvoker(request *model.ShowPublicKeyRequest) *ShowPublicKeyInvoker
- func (c *KmsClient) ShowUserInstances(request *model.ShowUserInstancesRequest) (*model.ShowUserInstancesResponse, error)
- func (c *KmsClient) ShowUserInstancesInvoker(request *model.ShowUserInstancesRequest) *ShowUserInstancesInvoker
- func (c *KmsClient) ShowUserQuotas(request *model.ShowUserQuotasRequest) (*model.ShowUserQuotasResponse, error)
- func (c *KmsClient) ShowUserQuotasInvoker(request *model.ShowUserQuotasRequest) *ShowUserQuotasInvoker
- func (c *KmsClient) ShowVersion(request *model.ShowVersionRequest) (*model.ShowVersionResponse, error)
- func (c *KmsClient) ShowVersionInvoker(request *model.ShowVersionRequest) *ShowVersionInvoker
- func (c *KmsClient) ShowVersions(request *model.ShowVersionsRequest) (*model.ShowVersionsResponse, error)
- func (c *KmsClient) ShowVersionsInvoker(request *model.ShowVersionsRequest) *ShowVersionsInvoker
- func (c *KmsClient) Sign(request *model.SignRequest) (*model.SignResponse, error)
- func (c *KmsClient) SignInvoker(request *model.SignRequest) *SignInvoker
- func (c *KmsClient) UpdateKeyAlias(request *model.UpdateKeyAliasRequest) (*model.UpdateKeyAliasResponse, error)
- func (c *KmsClient) UpdateKeyAliasInvoker(request *model.UpdateKeyAliasRequest) *UpdateKeyAliasInvoker
- func (c *KmsClient) UpdateKeyDescription(request *model.UpdateKeyDescriptionRequest) (*model.UpdateKeyDescriptionResponse, error)
- func (c *KmsClient) UpdateKeyDescriptionInvoker(request *model.UpdateKeyDescriptionRequest) *UpdateKeyDescriptionInvoker
- func (c *KmsClient) UpdateKeyRotationInterval(request *model.UpdateKeyRotationIntervalRequest) (*model.UpdateKeyRotationIntervalResponse, error)
- func (c *KmsClient) UpdateKeyRotationIntervalInvoker(request *model.UpdateKeyRotationIntervalRequest) *UpdateKeyRotationIntervalInvoker
- func (c *KmsClient) ValidateSignature(request *model.ValidateSignatureRequest) (*model.ValidateSignatureResponse, error)
- func (c *KmsClient) ValidateSignatureInvoker(request *model.ValidateSignatureRequest) *ValidateSignatureInvoker
- type ListGrantsInvoker
- type ListKeyDetailInvoker
- type ListKeyStoresInvoker
- type ListKeysInvoker
- type ListKmsByTagsInvoker
- type ListKmsTagsInvoker
- type ListRetirableGrantsInvoker
- type ShowKeyRotationStatusInvoker
- type ShowKeyStoreInvoker
- type ShowKmsTagsInvoker
- type ShowPublicKeyInvoker
- type ShowUserInstancesInvoker
- type ShowUserQuotasInvoker
- type ShowVersionInvoker
- type ShowVersionsInvoker
- type SignInvoker
- type UpdateKeyAliasInvoker
- type UpdateKeyDescriptionInvoker
- type UpdateKeyRotationIntervalInvoker
- type ValidateSignatureInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForBatchCreateKmsTags ¶
func GenReqDefForBatchCreateKmsTags() *def.HttpRequestDef
func GenReqDefForCancelGrant ¶
func GenReqDefForCancelGrant() *def.HttpRequestDef
func GenReqDefForCancelKeyDeletion ¶
func GenReqDefForCancelKeyDeletion() *def.HttpRequestDef
func GenReqDefForCancelSelfGrant ¶
func GenReqDefForCancelSelfGrant() *def.HttpRequestDef
func GenReqDefForCreateDatakey ¶
func GenReqDefForCreateDatakey() *def.HttpRequestDef
func GenReqDefForCreateDatakeyWithoutPlaintext ¶
func GenReqDefForCreateDatakeyWithoutPlaintext() *def.HttpRequestDef
func GenReqDefForCreateGrant ¶
func GenReqDefForCreateGrant() *def.HttpRequestDef
func GenReqDefForCreateKey ¶
func GenReqDefForCreateKey() *def.HttpRequestDef
func GenReqDefForCreateKeyStore ¶ added in v0.0.100
func GenReqDefForCreateKeyStore() *def.HttpRequestDef
func GenReqDefForCreateKmsTag ¶
func GenReqDefForCreateKmsTag() *def.HttpRequestDef
func GenReqDefForCreateParametersForImport ¶
func GenReqDefForCreateParametersForImport() *def.HttpRequestDef
func GenReqDefForCreateRandom ¶
func GenReqDefForCreateRandom() *def.HttpRequestDef
func GenReqDefForDecryptData ¶
func GenReqDefForDecryptData() *def.HttpRequestDef
func GenReqDefForDecryptDatakey ¶
func GenReqDefForDecryptDatakey() *def.HttpRequestDef
func GenReqDefForDeleteImportedKeyMaterial ¶
func GenReqDefForDeleteImportedKeyMaterial() *def.HttpRequestDef
func GenReqDefForDeleteKey ¶
func GenReqDefForDeleteKey() *def.HttpRequestDef
func GenReqDefForDeleteKeyStore ¶ added in v0.0.100
func GenReqDefForDeleteKeyStore() *def.HttpRequestDef
func GenReqDefForDeleteTag ¶
func GenReqDefForDeleteTag() *def.HttpRequestDef
func GenReqDefForDisableKey ¶
func GenReqDefForDisableKey() *def.HttpRequestDef
func GenReqDefForDisableKeyRotation ¶
func GenReqDefForDisableKeyRotation() *def.HttpRequestDef
func GenReqDefForDisableKeyStore ¶ added in v0.0.100
func GenReqDefForDisableKeyStore() *def.HttpRequestDef
func GenReqDefForEnableKey ¶
func GenReqDefForEnableKey() *def.HttpRequestDef
func GenReqDefForEnableKeyRotation ¶
func GenReqDefForEnableKeyRotation() *def.HttpRequestDef
func GenReqDefForEnableKeyStore ¶ added in v0.0.100
func GenReqDefForEnableKeyStore() *def.HttpRequestDef
func GenReqDefForEncryptData ¶
func GenReqDefForEncryptData() *def.HttpRequestDef
func GenReqDefForEncryptDatakey ¶
func GenReqDefForEncryptDatakey() *def.HttpRequestDef
func GenReqDefForImportKeyMaterial ¶
func GenReqDefForImportKeyMaterial() *def.HttpRequestDef
func GenReqDefForListGrants ¶
func GenReqDefForListGrants() *def.HttpRequestDef
func GenReqDefForListKeyDetail ¶
func GenReqDefForListKeyDetail() *def.HttpRequestDef
func GenReqDefForListKeyStores ¶ added in v0.0.100
func GenReqDefForListKeyStores() *def.HttpRequestDef
func GenReqDefForListKeys ¶
func GenReqDefForListKeys() *def.HttpRequestDef
func GenReqDefForListKmsByTags ¶
func GenReqDefForListKmsByTags() *def.HttpRequestDef
func GenReqDefForListKmsTags ¶
func GenReqDefForListKmsTags() *def.HttpRequestDef
func GenReqDefForListRetirableGrants ¶
func GenReqDefForListRetirableGrants() *def.HttpRequestDef
func GenReqDefForShowKeyRotationStatus ¶
func GenReqDefForShowKeyRotationStatus() *def.HttpRequestDef
func GenReqDefForShowKeyStore ¶ added in v0.0.100
func GenReqDefForShowKeyStore() *def.HttpRequestDef
func GenReqDefForShowKmsTags ¶
func GenReqDefForShowKmsTags() *def.HttpRequestDef
func GenReqDefForShowPublicKey ¶
func GenReqDefForShowPublicKey() *def.HttpRequestDef
func GenReqDefForShowUserInstances ¶
func GenReqDefForShowUserInstances() *def.HttpRequestDef
func GenReqDefForShowUserQuotas ¶
func GenReqDefForShowUserQuotas() *def.HttpRequestDef
func GenReqDefForShowVersion ¶
func GenReqDefForShowVersion() *def.HttpRequestDef
func GenReqDefForShowVersions ¶
func GenReqDefForShowVersions() *def.HttpRequestDef
func GenReqDefForSign ¶
func GenReqDefForSign() *def.HttpRequestDef
func GenReqDefForUpdateKeyAlias ¶
func GenReqDefForUpdateKeyAlias() *def.HttpRequestDef
func GenReqDefForUpdateKeyDescription ¶
func GenReqDefForUpdateKeyDescription() *def.HttpRequestDef
func GenReqDefForUpdateKeyRotationInterval ¶
func GenReqDefForUpdateKeyRotationInterval() *def.HttpRequestDef
func GenReqDefForValidateSignature ¶
func GenReqDefForValidateSignature() *def.HttpRequestDef
func KmsClientBuilder ¶
func KmsClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type BatchCreateKmsTagsInvoker ¶ added in v0.0.90
type BatchCreateKmsTagsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchCreateKmsTagsInvoker) Invoke ¶ added in v0.0.90
func (i *BatchCreateKmsTagsInvoker) Invoke() (*model.BatchCreateKmsTagsResponse, error)
type CancelGrantInvoker ¶ added in v0.0.90
type CancelGrantInvoker struct {
*invoker.BaseInvoker
}
func (*CancelGrantInvoker) Invoke ¶ added in v0.0.90
func (i *CancelGrantInvoker) Invoke() (*model.CancelGrantResponse, error)
type CancelKeyDeletionInvoker ¶ added in v0.0.90
type CancelKeyDeletionInvoker struct {
*invoker.BaseInvoker
}
func (*CancelKeyDeletionInvoker) Invoke ¶ added in v0.0.90
func (i *CancelKeyDeletionInvoker) Invoke() (*model.CancelKeyDeletionResponse, error)
type CancelSelfGrantInvoker ¶ added in v0.0.90
type CancelSelfGrantInvoker struct {
*invoker.BaseInvoker
}
func (*CancelSelfGrantInvoker) Invoke ¶ added in v0.0.90
func (i *CancelSelfGrantInvoker) Invoke() (*model.CancelSelfGrantResponse, error)
type CreateDatakeyInvoker ¶ added in v0.0.90
type CreateDatakeyInvoker struct {
*invoker.BaseInvoker
}
func (*CreateDatakeyInvoker) Invoke ¶ added in v0.0.90
func (i *CreateDatakeyInvoker) Invoke() (*model.CreateDatakeyResponse, error)
type CreateDatakeyWithoutPlaintextInvoker ¶ added in v0.0.90
type CreateDatakeyWithoutPlaintextInvoker struct {
*invoker.BaseInvoker
}
func (*CreateDatakeyWithoutPlaintextInvoker) Invoke ¶ added in v0.0.90
func (i *CreateDatakeyWithoutPlaintextInvoker) Invoke() (*model.CreateDatakeyWithoutPlaintextResponse, error)
type CreateGrantInvoker ¶ added in v0.0.90
type CreateGrantInvoker struct {
*invoker.BaseInvoker
}
func (*CreateGrantInvoker) Invoke ¶ added in v0.0.90
func (i *CreateGrantInvoker) Invoke() (*model.CreateGrantResponse, error)
type CreateKeyInvoker ¶ added in v0.0.90
type CreateKeyInvoker struct {
*invoker.BaseInvoker
}
func (*CreateKeyInvoker) Invoke ¶ added in v0.0.90
func (i *CreateKeyInvoker) Invoke() (*model.CreateKeyResponse, error)
type CreateKeyStoreInvoker ¶ added in v0.0.100
type CreateKeyStoreInvoker struct {
*invoker.BaseInvoker
}
func (*CreateKeyStoreInvoker) Invoke ¶ added in v0.0.100
func (i *CreateKeyStoreInvoker) Invoke() (*model.CreateKeyStoreResponse, error)
type CreateKmsTagInvoker ¶ added in v0.0.90
type CreateKmsTagInvoker struct {
*invoker.BaseInvoker
}
func (*CreateKmsTagInvoker) Invoke ¶ added in v0.0.90
func (i *CreateKmsTagInvoker) Invoke() (*model.CreateKmsTagResponse, error)
type CreateParametersForImportInvoker ¶ added in v0.0.90
type CreateParametersForImportInvoker struct {
*invoker.BaseInvoker
}
func (*CreateParametersForImportInvoker) Invoke ¶ added in v0.0.90
func (i *CreateParametersForImportInvoker) Invoke() (*model.CreateParametersForImportResponse, error)
type CreateRandomInvoker ¶ added in v0.0.90
type CreateRandomInvoker struct {
*invoker.BaseInvoker
}
func (*CreateRandomInvoker) Invoke ¶ added in v0.0.90
func (i *CreateRandomInvoker) Invoke() (*model.CreateRandomResponse, error)
type DecryptDataInvoker ¶ added in v0.0.90
type DecryptDataInvoker struct {
*invoker.BaseInvoker
}
func (*DecryptDataInvoker) Invoke ¶ added in v0.0.90
func (i *DecryptDataInvoker) Invoke() (*model.DecryptDataResponse, error)
type DecryptDatakeyInvoker ¶ added in v0.0.90
type DecryptDatakeyInvoker struct {
*invoker.BaseInvoker
}
func (*DecryptDatakeyInvoker) Invoke ¶ added in v0.0.90
func (i *DecryptDatakeyInvoker) Invoke() (*model.DecryptDatakeyResponse, error)
type DeleteImportedKeyMaterialInvoker ¶ added in v0.0.90
type DeleteImportedKeyMaterialInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteImportedKeyMaterialInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteImportedKeyMaterialInvoker) Invoke() (*model.DeleteImportedKeyMaterialResponse, error)
type DeleteKeyInvoker ¶ added in v0.0.90
type DeleteKeyInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteKeyInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteKeyInvoker) Invoke() (*model.DeleteKeyResponse, error)
type DeleteKeyStoreInvoker ¶ added in v0.0.100
type DeleteKeyStoreInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteKeyStoreInvoker) Invoke ¶ added in v0.0.100
func (i *DeleteKeyStoreInvoker) Invoke() (*model.DeleteKeyStoreResponse, error)
type DeleteTagInvoker ¶ added in v0.0.90
type DeleteTagInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteTagInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteTagInvoker) Invoke() (*model.DeleteTagResponse, error)
type DisableKeyInvoker ¶ added in v0.0.90
type DisableKeyInvoker struct {
*invoker.BaseInvoker
}
func (*DisableKeyInvoker) Invoke ¶ added in v0.0.90
func (i *DisableKeyInvoker) Invoke() (*model.DisableKeyResponse, error)
type DisableKeyRotationInvoker ¶ added in v0.0.90
type DisableKeyRotationInvoker struct {
*invoker.BaseInvoker
}
func (*DisableKeyRotationInvoker) Invoke ¶ added in v0.0.90
func (i *DisableKeyRotationInvoker) Invoke() (*model.DisableKeyRotationResponse, error)
type DisableKeyStoreInvoker ¶ added in v0.0.100
type DisableKeyStoreInvoker struct {
*invoker.BaseInvoker
}
func (*DisableKeyStoreInvoker) Invoke ¶ added in v0.0.100
func (i *DisableKeyStoreInvoker) Invoke() (*model.DisableKeyStoreResponse, error)
type EnableKeyInvoker ¶ added in v0.0.90
type EnableKeyInvoker struct {
*invoker.BaseInvoker
}
func (*EnableKeyInvoker) Invoke ¶ added in v0.0.90
func (i *EnableKeyInvoker) Invoke() (*model.EnableKeyResponse, error)
type EnableKeyRotationInvoker ¶ added in v0.0.90
type EnableKeyRotationInvoker struct {
*invoker.BaseInvoker
}
func (*EnableKeyRotationInvoker) Invoke ¶ added in v0.0.90
func (i *EnableKeyRotationInvoker) Invoke() (*model.EnableKeyRotationResponse, error)
type EnableKeyStoreInvoker ¶ added in v0.0.100
type EnableKeyStoreInvoker struct {
*invoker.BaseInvoker
}
func (*EnableKeyStoreInvoker) Invoke ¶ added in v0.0.100
func (i *EnableKeyStoreInvoker) Invoke() (*model.EnableKeyStoreResponse, error)
type EncryptDataInvoker ¶ added in v0.0.90
type EncryptDataInvoker struct {
*invoker.BaseInvoker
}
func (*EncryptDataInvoker) Invoke ¶ added in v0.0.90
func (i *EncryptDataInvoker) Invoke() (*model.EncryptDataResponse, error)
type EncryptDatakeyInvoker ¶ added in v0.0.90
type EncryptDatakeyInvoker struct {
*invoker.BaseInvoker
}
func (*EncryptDatakeyInvoker) Invoke ¶ added in v0.0.90
func (i *EncryptDatakeyInvoker) Invoke() (*model.EncryptDatakeyResponse, error)
type ImportKeyMaterialInvoker ¶ added in v0.0.90
type ImportKeyMaterialInvoker struct {
*invoker.BaseInvoker
}
func (*ImportKeyMaterialInvoker) Invoke ¶ added in v0.0.90
func (i *ImportKeyMaterialInvoker) Invoke() (*model.ImportKeyMaterialResponse, error)
type KmsClient ¶
type KmsClient struct {
HcClient *http_client.HcHttpClient
}
func NewKmsClient ¶
func NewKmsClient(hcClient *http_client.HcHttpClient) *KmsClient
func (*KmsClient) BatchCreateKmsTags ¶
func (c *KmsClient) BatchCreateKmsTags(request *model.BatchCreateKmsTagsRequest) (*model.BatchCreateKmsTagsResponse, error)
BatchCreateKmsTags 批量添加删除密钥标签
- 功能介绍:批量添加删除密钥标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) BatchCreateKmsTagsInvoker ¶ added in v0.0.90
func (c *KmsClient) BatchCreateKmsTagsInvoker(request *model.BatchCreateKmsTagsRequest) *BatchCreateKmsTagsInvoker
BatchCreateKmsTagsInvoker 批量添加删除密钥标签
func (*KmsClient) CancelGrant ¶
func (c *KmsClient) CancelGrant(request *model.CancelGrantRequest) (*model.CancelGrantResponse, error)
CancelGrant 撤销授权
- 功能介绍:撤销授权,授权用户撤销被授权用户操作密钥的权限。 - 说明:
- 创建密钥的用户才能撤销该密钥授权。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) CancelGrantInvoker ¶ added in v0.0.90
func (c *KmsClient) CancelGrantInvoker(request *model.CancelGrantRequest) *CancelGrantInvoker
CancelGrantInvoker 撤销授权
func (*KmsClient) CancelKeyDeletion ¶
func (c *KmsClient) CancelKeyDeletion(request *model.CancelKeyDeletionRequest) (*model.CancelKeyDeletionResponse, error)
CancelKeyDeletion 取消计划删除密钥
- 功能介绍:取消计划删除密钥。 - 说明:密钥处于“计划删除”状态才能取消计划删除密钥。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) CancelKeyDeletionInvoker ¶ added in v0.0.90
func (c *KmsClient) CancelKeyDeletionInvoker(request *model.CancelKeyDeletionRequest) *CancelKeyDeletionInvoker
CancelKeyDeletionInvoker 取消计划删除密钥
func (*KmsClient) CancelSelfGrant ¶
func (c *KmsClient) CancelSelfGrant(request *model.CancelSelfGrantRequest) (*model.CancelSelfGrantResponse, error)
CancelSelfGrant 退役授权
- 功能介绍:退役授权,表示被授权用户不再具有授权密钥的操作权。 例如:用户A授权用户B可以操作密钥A/key,同时授权用户C可以撤销该授权, 那么用户A、B、C均可退役该授权,退役授权后,用户B不再可以使用A/key。
- 须知: 可执行退役授权的主体包括:
- 创建授权的用户;
- 授权中retiring_principal指向的用户;
- 当授权的操作列表中包含retire-grant时,grantee_principal指向的用户。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) CancelSelfGrantInvoker ¶ added in v0.0.90
func (c *KmsClient) CancelSelfGrantInvoker(request *model.CancelSelfGrantRequest) *CancelSelfGrantInvoker
CancelSelfGrantInvoker 退役授权
func (*KmsClient) CreateDatakey ¶
func (c *KmsClient) CreateDatakey(request *model.CreateDatakeyRequest) (*model.CreateDatakeyResponse, error)
CreateDatakey 创建数据密钥
- 功能介绍:创建数据密钥,返回结果包含明文和密文。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) CreateDatakeyInvoker ¶ added in v0.0.90
func (c *KmsClient) CreateDatakeyInvoker(request *model.CreateDatakeyRequest) *CreateDatakeyInvoker
CreateDatakeyInvoker 创建数据密钥
func (*KmsClient) CreateDatakeyWithoutPlaintext ¶
func (c *KmsClient) CreateDatakeyWithoutPlaintext(request *model.CreateDatakeyWithoutPlaintextRequest) (*model.CreateDatakeyWithoutPlaintextResponse, error)
CreateDatakeyWithoutPlaintext 创建不含明文数据密钥
- 功能介绍:创建数据密钥,返回结果只包含密文。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) CreateDatakeyWithoutPlaintextInvoker ¶ added in v0.0.90
func (c *KmsClient) CreateDatakeyWithoutPlaintextInvoker(request *model.CreateDatakeyWithoutPlaintextRequest) *CreateDatakeyWithoutPlaintextInvoker
CreateDatakeyWithoutPlaintextInvoker 创建不含明文数据密钥
func (*KmsClient) CreateGrant ¶
func (c *KmsClient) CreateGrant(request *model.CreateGrantRequest) (*model.CreateGrantResponse, error)
CreateGrant 创建授权
- 功能介绍:创建授权,被授权用户可以对授权密钥进行操作。 - 说明:
- 服务默认主密钥(密钥别名后缀为“/default”)不可以授权。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) CreateGrantInvoker ¶ added in v0.0.90
func (c *KmsClient) CreateGrantInvoker(request *model.CreateGrantRequest) *CreateGrantInvoker
CreateGrantInvoker 创建授权
func (*KmsClient) CreateKey ¶
func (c *KmsClient) CreateKey(request *model.CreateKeyRequest) (*model.CreateKeyResponse, error)
CreateKey 创建密钥
创建用户主密钥,用户主密钥可以为对称密钥或非对称密钥。 - 对称密钥为长度为256位AES密钥或者128位SM4密钥,可用于小量数据的加密或者用于加密数据密钥。 - 非对称密钥可以为RSA密钥对或者ECC密钥对(包含SM2密钥对),可用于加解密数据、数字签名及验签。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) CreateKeyInvoker ¶ added in v0.0.90
func (c *KmsClient) CreateKeyInvoker(request *model.CreateKeyRequest) *CreateKeyInvoker
CreateKeyInvoker 创建密钥
func (*KmsClient) CreateKeyStore ¶ added in v0.0.100
func (c *KmsClient) CreateKeyStore(request *model.CreateKeyStoreRequest) (*model.CreateKeyStoreResponse, error)
CreateKeyStore 创建专属密钥库
- \"创建租户专属密钥库,专属密钥库使用DHSM实例作为密钥的存储\"
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) CreateKeyStoreInvoker ¶ added in v0.0.100
func (c *KmsClient) CreateKeyStoreInvoker(request *model.CreateKeyStoreRequest) *CreateKeyStoreInvoker
CreateKeyStoreInvoker 创建专属密钥库
func (*KmsClient) CreateKmsTag ¶
func (c *KmsClient) CreateKmsTag(request *model.CreateKmsTagRequest) (*model.CreateKmsTagResponse, error)
CreateKmsTag 添加密钥标签
- 功能介绍:添加密钥标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) CreateKmsTagInvoker ¶ added in v0.0.90
func (c *KmsClient) CreateKmsTagInvoker(request *model.CreateKmsTagRequest) *CreateKmsTagInvoker
CreateKmsTagInvoker 添加密钥标签
func (*KmsClient) CreateParametersForImport ¶
func (c *KmsClient) CreateParametersForImport(request *model.CreateParametersForImportRequest) (*model.CreateParametersForImportResponse, error)
CreateParametersForImport 获取密钥导入参数
- 功能介绍:获取导入密钥的必要参数,包括密钥导入令牌和密钥加密公钥。 - 说明:返回的公钥类型默认为RSA_2048。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) CreateParametersForImportInvoker ¶ added in v0.0.90
func (c *KmsClient) CreateParametersForImportInvoker(request *model.CreateParametersForImportRequest) *CreateParametersForImportInvoker
CreateParametersForImportInvoker 获取密钥导入参数
func (*KmsClient) CreateRandom ¶
func (c *KmsClient) CreateRandom(request *model.CreateRandomRequest) (*model.CreateRandomResponse, error)
CreateRandom 创建随机数
- 功能介绍: 生成8~8192bit范围内的随机数。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) CreateRandomInvoker ¶ added in v0.0.90
func (c *KmsClient) CreateRandomInvoker(request *model.CreateRandomRequest) *CreateRandomInvoker
CreateRandomInvoker 创建随机数
func (*KmsClient) DecryptData ¶
func (c *KmsClient) DecryptData(request *model.DecryptDataRequest) (*model.DecryptDataResponse, error)
DecryptData 解密数据
- 功能介绍:解密数据。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) DecryptDataInvoker ¶ added in v0.0.90
func (c *KmsClient) DecryptDataInvoker(request *model.DecryptDataRequest) *DecryptDataInvoker
DecryptDataInvoker 解密数据
func (*KmsClient) DecryptDatakey ¶
func (c *KmsClient) DecryptDatakey(request *model.DecryptDatakeyRequest) (*model.DecryptDatakeyResponse, error)
DecryptDatakey 解密数据密钥
- 功能介绍:解密数据密钥,用指定的主密钥解密数据密钥。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) DecryptDatakeyInvoker ¶ added in v0.0.90
func (c *KmsClient) DecryptDatakeyInvoker(request *model.DecryptDatakeyRequest) *DecryptDatakeyInvoker
DecryptDatakeyInvoker 解密数据密钥
func (*KmsClient) DeleteImportedKeyMaterial ¶
func (c *KmsClient) DeleteImportedKeyMaterial(request *model.DeleteImportedKeyMaterialRequest) (*model.DeleteImportedKeyMaterialResponse, error)
DeleteImportedKeyMaterial 删除密钥材料
- 功能介绍:删除密钥材料信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) DeleteImportedKeyMaterialInvoker ¶ added in v0.0.90
func (c *KmsClient) DeleteImportedKeyMaterialInvoker(request *model.DeleteImportedKeyMaterialRequest) *DeleteImportedKeyMaterialInvoker
DeleteImportedKeyMaterialInvoker 删除密钥材料
func (*KmsClient) DeleteKey ¶
func (c *KmsClient) DeleteKey(request *model.DeleteKeyRequest) (*model.DeleteKeyResponse, error)
DeleteKey 计划删除密钥
- 功能介绍:计划多少天后删除密钥,可设置7天~1096天内删除密钥。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) DeleteKeyInvoker ¶ added in v0.0.90
func (c *KmsClient) DeleteKeyInvoker(request *model.DeleteKeyRequest) *DeleteKeyInvoker
DeleteKeyInvoker 计划删除密钥
func (*KmsClient) DeleteKeyStore ¶ added in v0.0.100
func (c *KmsClient) DeleteKeyStore(request *model.DeleteKeyStoreRequest) (*model.DeleteKeyStoreResponse, error)
DeleteKeyStore 删除专属密钥库
删除租户专属密钥库
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) DeleteKeyStoreInvoker ¶ added in v0.0.100
func (c *KmsClient) DeleteKeyStoreInvoker(request *model.DeleteKeyStoreRequest) *DeleteKeyStoreInvoker
DeleteKeyStoreInvoker 删除专属密钥库
func (*KmsClient) DeleteTag ¶
func (c *KmsClient) DeleteTag(request *model.DeleteTagRequest) (*model.DeleteTagResponse, error)
DeleteTag 删除密钥标签
- 功能介绍:删除密钥标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) DeleteTagInvoker ¶ added in v0.0.90
func (c *KmsClient) DeleteTagInvoker(request *model.DeleteTagRequest) *DeleteTagInvoker
DeleteTagInvoker 删除密钥标签
func (*KmsClient) DisableKey ¶
func (c *KmsClient) DisableKey(request *model.DisableKeyRequest) (*model.DisableKeyResponse, error)
DisableKey 禁用密钥
- 功能介绍:禁用密钥,密钥禁用后不可以使用。 - 说明:密钥为启用状态才能禁用密钥。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) DisableKeyInvoker ¶ added in v0.0.90
func (c *KmsClient) DisableKeyInvoker(request *model.DisableKeyRequest) *DisableKeyInvoker
DisableKeyInvoker 禁用密钥
func (*KmsClient) DisableKeyRotation ¶
func (c *KmsClient) DisableKeyRotation(request *model.DisableKeyRotationRequest) (*model.DisableKeyRotationResponse, error)
DisableKeyRotation 关闭密钥轮换
- 功能介绍:关闭用户主密钥轮换。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) DisableKeyRotationInvoker ¶ added in v0.0.90
func (c *KmsClient) DisableKeyRotationInvoker(request *model.DisableKeyRotationRequest) *DisableKeyRotationInvoker
DisableKeyRotationInvoker 关闭密钥轮换
func (*KmsClient) DisableKeyStore ¶ added in v0.0.100
func (c *KmsClient) DisableKeyStore(request *model.DisableKeyStoreRequest) (*model.DisableKeyStoreResponse, error)
DisableKeyStore 禁用专属密钥库
禁用租户专属密钥库
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) DisableKeyStoreInvoker ¶ added in v0.0.100
func (c *KmsClient) DisableKeyStoreInvoker(request *model.DisableKeyStoreRequest) *DisableKeyStoreInvoker
DisableKeyStoreInvoker 禁用专属密钥库
func (*KmsClient) EnableKey ¶
func (c *KmsClient) EnableKey(request *model.EnableKeyRequest) (*model.EnableKeyResponse, error)
EnableKey 启用密钥
- 功能介绍:启用密钥,密钥启用后才可以使用。 - 说明:密钥为禁用状态才能启用密钥。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) EnableKeyInvoker ¶ added in v0.0.90
func (c *KmsClient) EnableKeyInvoker(request *model.EnableKeyRequest) *EnableKeyInvoker
EnableKeyInvoker 启用密钥
func (*KmsClient) EnableKeyRotation ¶
func (c *KmsClient) EnableKeyRotation(request *model.EnableKeyRotationRequest) (*model.EnableKeyRotationResponse, error)
EnableKeyRotation 开启密钥轮换
- 功能介绍:开启用户主密钥轮换。 - 说明:
- 开启密钥轮换后,默认轮换间隔时间为365天。
- 默认主密钥及外部导入密钥不支持轮换操作。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) EnableKeyRotationInvoker ¶ added in v0.0.90
func (c *KmsClient) EnableKeyRotationInvoker(request *model.EnableKeyRotationRequest) *EnableKeyRotationInvoker
EnableKeyRotationInvoker 开启密钥轮换
func (*KmsClient) EnableKeyStore ¶ added in v0.0.100
func (c *KmsClient) EnableKeyStore(request *model.EnableKeyStoreRequest) (*model.EnableKeyStoreResponse, error)
EnableKeyStore 启用专属密钥库
启用租户专属密钥库
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) EnableKeyStoreInvoker ¶ added in v0.0.100
func (c *KmsClient) EnableKeyStoreInvoker(request *model.EnableKeyStoreRequest) *EnableKeyStoreInvoker
EnableKeyStoreInvoker 启用专属密钥库
func (*KmsClient) EncryptData ¶
func (c *KmsClient) EncryptData(request *model.EncryptDataRequest) (*model.EncryptDataResponse, error)
EncryptData 加密数据
- 功能介绍:加密数据,用指定的用户主密钥加密数据。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) EncryptDataInvoker ¶ added in v0.0.90
func (c *KmsClient) EncryptDataInvoker(request *model.EncryptDataRequest) *EncryptDataInvoker
EncryptDataInvoker 加密数据
func (*KmsClient) EncryptDatakey ¶
func (c *KmsClient) EncryptDatakey(request *model.EncryptDatakeyRequest) (*model.EncryptDatakeyResponse, error)
EncryptDatakey 加密数据密钥
- 功能介绍:加密数据密钥,用指定的主密钥加密数据密钥。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) EncryptDatakeyInvoker ¶ added in v0.0.90
func (c *KmsClient) EncryptDatakeyInvoker(request *model.EncryptDatakeyRequest) *EncryptDatakeyInvoker
EncryptDatakeyInvoker 加密数据密钥
func (*KmsClient) ImportKeyMaterial ¶
func (c *KmsClient) ImportKeyMaterial(request *model.ImportKeyMaterialRequest) (*model.ImportKeyMaterialResponse, error)
ImportKeyMaterial 导入密钥材料
- 功能介绍:导入密钥材料。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ImportKeyMaterialInvoker ¶ added in v0.0.90
func (c *KmsClient) ImportKeyMaterialInvoker(request *model.ImportKeyMaterialRequest) *ImportKeyMaterialInvoker
ImportKeyMaterialInvoker 导入密钥材料
func (*KmsClient) ListGrants ¶
func (c *KmsClient) ListGrants(request *model.ListGrantsRequest) (*model.ListGrantsResponse, error)
ListGrants 查询授权列表
- 功能介绍:查询密钥的授权列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ListGrantsInvoker ¶ added in v0.0.90
func (c *KmsClient) ListGrantsInvoker(request *model.ListGrantsRequest) *ListGrantsInvoker
ListGrantsInvoker 查询授权列表
func (*KmsClient) ListKeyDetail ¶
func (c *KmsClient) ListKeyDetail(request *model.ListKeyDetailRequest) (*model.ListKeyDetailResponse, error)
ListKeyDetail 查询密钥信息
- 功能介绍:查询密钥详细信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ListKeyDetailInvoker ¶ added in v0.0.90
func (c *KmsClient) ListKeyDetailInvoker(request *model.ListKeyDetailRequest) *ListKeyDetailInvoker
ListKeyDetailInvoker 查询密钥信息
func (*KmsClient) ListKeyStores ¶ added in v0.0.100
func (c *KmsClient) ListKeyStores(request *model.ListKeyStoresRequest) (*model.ListKeyStoresResponse, error)
ListKeyStores 查询专属密钥库列表
查询租户专属密钥库列表
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ListKeyStoresInvoker ¶ added in v0.0.100
func (c *KmsClient) ListKeyStoresInvoker(request *model.ListKeyStoresRequest) *ListKeyStoresInvoker
ListKeyStoresInvoker 查询专属密钥库列表
func (*KmsClient) ListKeys ¶
func (c *KmsClient) ListKeys(request *model.ListKeysRequest) (*model.ListKeysResponse, error)
ListKeys 查询密钥列表
- 功能介绍:查询用户所有密钥列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ListKeysInvoker ¶ added in v0.0.90
func (c *KmsClient) ListKeysInvoker(request *model.ListKeysRequest) *ListKeysInvoker
ListKeysInvoker 查询密钥列表
func (*KmsClient) ListKmsByTags ¶
func (c *KmsClient) ListKmsByTags(request *model.ListKmsByTagsRequest) (*model.ListKmsByTagsResponse, error)
ListKmsByTags 查询密钥实例
- 功能介绍:查询密钥实例。通过标签过滤,查询指定用户主密钥的详细信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ListKmsByTagsInvoker ¶ added in v0.0.90
func (c *KmsClient) ListKmsByTagsInvoker(request *model.ListKmsByTagsRequest) *ListKmsByTagsInvoker
ListKmsByTagsInvoker 查询密钥实例
func (*KmsClient) ListKmsTags ¶
func (c *KmsClient) ListKmsTags(request *model.ListKmsTagsRequest) (*model.ListKmsTagsResponse, error)
ListKmsTags 查询项目标签
- 功能介绍:查询用户在指定项目下的所有标签集合。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ListKmsTagsInvoker ¶ added in v0.0.90
func (c *KmsClient) ListKmsTagsInvoker(request *model.ListKmsTagsRequest) *ListKmsTagsInvoker
ListKmsTagsInvoker 查询项目标签
func (*KmsClient) ListRetirableGrants ¶
func (c *KmsClient) ListRetirableGrants(request *model.ListRetirableGrantsRequest) (*model.ListRetirableGrantsResponse, error)
ListRetirableGrants 查询可退役授权列表
- 功能介绍:查询用户可以退役的授权列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ListRetirableGrantsInvoker ¶ added in v0.0.90
func (c *KmsClient) ListRetirableGrantsInvoker(request *model.ListRetirableGrantsRequest) *ListRetirableGrantsInvoker
ListRetirableGrantsInvoker 查询可退役授权列表
func (*KmsClient) ShowKeyRotationStatus ¶
func (c *KmsClient) ShowKeyRotationStatus(request *model.ShowKeyRotationStatusRequest) (*model.ShowKeyRotationStatusResponse, error)
ShowKeyRotationStatus 查询密钥轮换状态
- 功能介绍:查询用户主密钥轮换状态。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ShowKeyRotationStatusInvoker ¶ added in v0.0.90
func (c *KmsClient) ShowKeyRotationStatusInvoker(request *model.ShowKeyRotationStatusRequest) *ShowKeyRotationStatusInvoker
ShowKeyRotationStatusInvoker 查询密钥轮换状态
func (*KmsClient) ShowKeyStore ¶ added in v0.0.100
func (c *KmsClient) ShowKeyStore(request *model.ShowKeyStoreRequest) (*model.ShowKeyStoreResponse, error)
ShowKeyStore 获取专属密钥库
获取租户专属密钥库
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ShowKeyStoreInvoker ¶ added in v0.0.100
func (c *KmsClient) ShowKeyStoreInvoker(request *model.ShowKeyStoreRequest) *ShowKeyStoreInvoker
ShowKeyStoreInvoker 获取专属密钥库
func (*KmsClient) ShowKmsTags ¶
func (c *KmsClient) ShowKmsTags(request *model.ShowKmsTagsRequest) (*model.ShowKmsTagsResponse, error)
ShowKmsTags 查询密钥标签
- 功能介绍:查询密钥标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ShowKmsTagsInvoker ¶ added in v0.0.90
func (c *KmsClient) ShowKmsTagsInvoker(request *model.ShowKmsTagsRequest) *ShowKmsTagsInvoker
ShowKmsTagsInvoker 查询密钥标签
func (*KmsClient) ShowPublicKey ¶
func (c *KmsClient) ShowPublicKey(request *model.ShowPublicKeyRequest) (*model.ShowPublicKeyResponse, error)
ShowPublicKey 查询公钥信息
- 查询用户指定非对称密钥的公钥信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ShowPublicKeyInvoker ¶ added in v0.0.90
func (c *KmsClient) ShowPublicKeyInvoker(request *model.ShowPublicKeyRequest) *ShowPublicKeyInvoker
ShowPublicKeyInvoker 查询公钥信息
func (*KmsClient) ShowUserInstances ¶
func (c *KmsClient) ShowUserInstances(request *model.ShowUserInstancesRequest) (*model.ShowUserInstancesResponse, error)
ShowUserInstances 查询实例数
- 功能介绍:查询实例数,获取用户已经创建的用户主密钥数量。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ShowUserInstancesInvoker ¶ added in v0.0.90
func (c *KmsClient) ShowUserInstancesInvoker(request *model.ShowUserInstancesRequest) *ShowUserInstancesInvoker
ShowUserInstancesInvoker 查询实例数
func (*KmsClient) ShowUserQuotas ¶
func (c *KmsClient) ShowUserQuotas(request *model.ShowUserQuotasRequest) (*model.ShowUserQuotasResponse, error)
ShowUserQuotas 查询配额
- 功能介绍:查询配额,查询用户可以创建的用户主密钥配额总数及当前使用量信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ShowUserQuotasInvoker ¶ added in v0.0.90
func (c *KmsClient) ShowUserQuotasInvoker(request *model.ShowUserQuotasRequest) *ShowUserQuotasInvoker
ShowUserQuotasInvoker 查询配额
func (*KmsClient) ShowVersion ¶
func (c *KmsClient) ShowVersion(request *model.ShowVersionRequest) (*model.ShowVersionResponse, error)
ShowVersion 查询指定版本信息
- 功能介绍:查指定API版本信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ShowVersionInvoker ¶ added in v0.0.90
func (c *KmsClient) ShowVersionInvoker(request *model.ShowVersionRequest) *ShowVersionInvoker
ShowVersionInvoker 查询指定版本信息
func (*KmsClient) ShowVersions ¶
func (c *KmsClient) ShowVersions(request *model.ShowVersionsRequest) (*model.ShowVersionsResponse, error)
ShowVersions 查询版本信息列表
- 功能介绍:查询API版本信息列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ShowVersionsInvoker ¶ added in v0.0.90
func (c *KmsClient) ShowVersionsInvoker(request *model.ShowVersionsRequest) *ShowVersionsInvoker
ShowVersionsInvoker 查询版本信息列表
func (*KmsClient) Sign ¶
func (c *KmsClient) Sign(request *model.SignRequest) (*model.SignResponse, error)
Sign 签名数据
- 功能介绍:使用非对称密钥的私钥对消息或消息摘要进行数字签名。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) SignInvoker ¶ added in v0.0.90
func (c *KmsClient) SignInvoker(request *model.SignRequest) *SignInvoker
SignInvoker 签名数据
func (*KmsClient) UpdateKeyAlias ¶
func (c *KmsClient) UpdateKeyAlias(request *model.UpdateKeyAliasRequest) (*model.UpdateKeyAliasResponse, error)
UpdateKeyAlias 修改密钥别名
- 功能介绍:修改用户主密钥别名。 - 说明:
- 服务默认主密钥(密钥别名后缀为“/default”)不可以修改。
- 密钥处于“计划删除”状态,密钥别名不可以修改。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) UpdateKeyAliasInvoker ¶ added in v0.0.90
func (c *KmsClient) UpdateKeyAliasInvoker(request *model.UpdateKeyAliasRequest) *UpdateKeyAliasInvoker
UpdateKeyAliasInvoker 修改密钥别名
func (*KmsClient) UpdateKeyDescription ¶
func (c *KmsClient) UpdateKeyDescription(request *model.UpdateKeyDescriptionRequest) (*model.UpdateKeyDescriptionResponse, error)
UpdateKeyDescription 修改密钥描述
- 功能介绍:修改用户主密钥描述信息。 - 说明:
- 服务默认主密钥(密钥别名后缀为“/default”)不可以修改。
- 密钥处于“计划删除”状态,密钥描述不可以修改。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) UpdateKeyDescriptionInvoker ¶ added in v0.0.90
func (c *KmsClient) UpdateKeyDescriptionInvoker(request *model.UpdateKeyDescriptionRequest) *UpdateKeyDescriptionInvoker
UpdateKeyDescriptionInvoker 修改密钥描述
func (*KmsClient) UpdateKeyRotationInterval ¶
func (c *KmsClient) UpdateKeyRotationInterval(request *model.UpdateKeyRotationIntervalRequest) (*model.UpdateKeyRotationIntervalResponse, error)
UpdateKeyRotationInterval 修改密钥轮换周期
- 功能介绍:修改用户主密钥轮换周期。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) UpdateKeyRotationIntervalInvoker ¶ added in v0.0.90
func (c *KmsClient) UpdateKeyRotationIntervalInvoker(request *model.UpdateKeyRotationIntervalRequest) *UpdateKeyRotationIntervalInvoker
UpdateKeyRotationIntervalInvoker 修改密钥轮换周期
func (*KmsClient) ValidateSignature ¶
func (c *KmsClient) ValidateSignature(request *model.ValidateSignatureRequest) (*model.ValidateSignatureResponse, error)
ValidateSignature 验证签名
- 功能介绍:使用非对称密钥的私钥对消息或消息摘要进行签名验证。
Please refer to HUAWEI cloud API Explorer for details.
func (*KmsClient) ValidateSignatureInvoker ¶ added in v0.0.90
func (c *KmsClient) ValidateSignatureInvoker(request *model.ValidateSignatureRequest) *ValidateSignatureInvoker
ValidateSignatureInvoker 验证签名
type ListGrantsInvoker ¶ added in v0.0.90
type ListGrantsInvoker struct {
*invoker.BaseInvoker
}
func (*ListGrantsInvoker) Invoke ¶ added in v0.0.90
func (i *ListGrantsInvoker) Invoke() (*model.ListGrantsResponse, error)
type ListKeyDetailInvoker ¶ added in v0.0.90
type ListKeyDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ListKeyDetailInvoker) Invoke ¶ added in v0.0.90
func (i *ListKeyDetailInvoker) Invoke() (*model.ListKeyDetailResponse, error)
type ListKeyStoresInvoker ¶ added in v0.0.100
type ListKeyStoresInvoker struct {
*invoker.BaseInvoker
}
func (*ListKeyStoresInvoker) Invoke ¶ added in v0.0.100
func (i *ListKeyStoresInvoker) Invoke() (*model.ListKeyStoresResponse, error)
type ListKeysInvoker ¶ added in v0.0.90
type ListKeysInvoker struct {
*invoker.BaseInvoker
}
func (*ListKeysInvoker) Invoke ¶ added in v0.0.90
func (i *ListKeysInvoker) Invoke() (*model.ListKeysResponse, error)
type ListKmsByTagsInvoker ¶ added in v0.0.90
type ListKmsByTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListKmsByTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ListKmsByTagsInvoker) Invoke() (*model.ListKmsByTagsResponse, error)
type ListKmsTagsInvoker ¶ added in v0.0.90
type ListKmsTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListKmsTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ListKmsTagsInvoker) Invoke() (*model.ListKmsTagsResponse, error)
type ListRetirableGrantsInvoker ¶ added in v0.0.90
type ListRetirableGrantsInvoker struct {
*invoker.BaseInvoker
}
func (*ListRetirableGrantsInvoker) Invoke ¶ added in v0.0.90
func (i *ListRetirableGrantsInvoker) Invoke() (*model.ListRetirableGrantsResponse, error)
type ShowKeyRotationStatusInvoker ¶ added in v0.0.90
type ShowKeyRotationStatusInvoker struct {
*invoker.BaseInvoker
}
func (*ShowKeyRotationStatusInvoker) Invoke ¶ added in v0.0.90
func (i *ShowKeyRotationStatusInvoker) Invoke() (*model.ShowKeyRotationStatusResponse, error)
type ShowKeyStoreInvoker ¶ added in v0.0.100
type ShowKeyStoreInvoker struct {
*invoker.BaseInvoker
}
func (*ShowKeyStoreInvoker) Invoke ¶ added in v0.0.100
func (i *ShowKeyStoreInvoker) Invoke() (*model.ShowKeyStoreResponse, error)
type ShowKmsTagsInvoker ¶ added in v0.0.90
type ShowKmsTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowKmsTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ShowKmsTagsInvoker) Invoke() (*model.ShowKmsTagsResponse, error)
type ShowPublicKeyInvoker ¶ added in v0.0.90
type ShowPublicKeyInvoker struct {
*invoker.BaseInvoker
}
func (*ShowPublicKeyInvoker) Invoke ¶ added in v0.0.90
func (i *ShowPublicKeyInvoker) Invoke() (*model.ShowPublicKeyResponse, error)
type ShowUserInstancesInvoker ¶ added in v0.0.90
type ShowUserInstancesInvoker struct {
*invoker.BaseInvoker
}
func (*ShowUserInstancesInvoker) Invoke ¶ added in v0.0.90
func (i *ShowUserInstancesInvoker) Invoke() (*model.ShowUserInstancesResponse, error)
type ShowUserQuotasInvoker ¶ added in v0.0.90
type ShowUserQuotasInvoker struct {
*invoker.BaseInvoker
}
func (*ShowUserQuotasInvoker) Invoke ¶ added in v0.0.90
func (i *ShowUserQuotasInvoker) Invoke() (*model.ShowUserQuotasResponse, error)
type ShowVersionInvoker ¶ added in v0.0.90
type ShowVersionInvoker struct {
*invoker.BaseInvoker
}
func (*ShowVersionInvoker) Invoke ¶ added in v0.0.90
func (i *ShowVersionInvoker) Invoke() (*model.ShowVersionResponse, error)
type ShowVersionsInvoker ¶ added in v0.0.90
type ShowVersionsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowVersionsInvoker) Invoke ¶ added in v0.0.90
func (i *ShowVersionsInvoker) Invoke() (*model.ShowVersionsResponse, error)
type SignInvoker ¶ added in v0.0.90
type SignInvoker struct {
*invoker.BaseInvoker
}
func (*SignInvoker) Invoke ¶ added in v0.0.90
func (i *SignInvoker) Invoke() (*model.SignResponse, error)
type UpdateKeyAliasInvoker ¶ added in v0.0.90
type UpdateKeyAliasInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateKeyAliasInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateKeyAliasInvoker) Invoke() (*model.UpdateKeyAliasResponse, error)
type UpdateKeyDescriptionInvoker ¶ added in v0.0.90
type UpdateKeyDescriptionInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateKeyDescriptionInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateKeyDescriptionInvoker) Invoke() (*model.UpdateKeyDescriptionResponse, error)
type UpdateKeyRotationIntervalInvoker ¶ added in v0.0.90
type UpdateKeyRotationIntervalInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateKeyRotationIntervalInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateKeyRotationIntervalInvoker) Invoke() (*model.UpdateKeyRotationIntervalResponse, error)
type ValidateSignatureInvoker ¶ added in v0.0.90
type ValidateSignatureInvoker struct {
*invoker.BaseInvoker
}
func (*ValidateSignatureInvoker) Invoke ¶ added in v0.0.90
func (i *ValidateSignatureInvoker) Invoke() (*model.ValidateSignatureResponse, error)