googleapis / nodejs-kms

This repository is deprecated. All of its content and history has been moved to googleapis/google-cloud-node.
https://cloud.google.com/kms/
Apache License 2.0
56 stars 25 forks source link

refactor: Delete `samples` folder #594

Closed NimJay closed 1 year ago

NimJay commented 1 year ago
snippet-bot[bot] commented 1 year ago

Here is the summary of changes.

You are about to delete 65 region tags. - [samples/createKeyAsymmetricDecrypt.js:23](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/createKeyAsymmetricDecrypt.js#L23), tag `kms_create_key_asymmetric_decrypt` - [samples/createKeyAsymmetricSign.js:23](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/createKeyAsymmetricSign.js#L23), tag `kms_create_key_asymmetric_sign` - [samples/createKeyHsm.js:23](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/createKeyHsm.js#L23), tag `kms_create_key_hsm` - [samples/createKeyLabels.js:23](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/createKeyLabels.js#L23), tag `kms_create_key_labels` - [samples/createKeyMac.js:23](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/createKeyMac.js#L23), tag `kms_create_key_mac` - [samples/createKeyRing.js:22](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/createKeyRing.js#L22), tag `kms_create_key_ring` - [samples/createKeyRotationSchedule.js:23](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/createKeyRotationSchedule.js#L23), tag `kms_create_key_rotation_schedule` - [samples/createKeySymmetricEncryptDecrypt.js:23](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/createKeySymmetricEncryptDecrypt.js#L23), tag `kms_create_key_symmetric_encrypt_decrypt` - [samples/createKeyVersion.js:23](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/createKeyVersion.js#L23), tag `kms_create_key_version` - [samples/decryptAsymmetric.js:25](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/decryptAsymmetric.js#L25), tag `kms_decrypt_asymmetric` - [samples/decryptSymmetric.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/decryptSymmetric.js#L24), tag `kms_decrypt_symmetric` - [samples/destroyKeyVersion.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/destroyKeyVersion.js#L24), tag `kms_destroy_key_version` - [samples/disableKeyVersion.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/disableKeyVersion.js#L24), tag `kms_disable_key_version` - [samples/enableKeyVersion.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/enableKeyVersion.js#L24), tag `kms_enable_key_version` - [samples/encryptAsymmetric.js:25](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/encryptAsymmetric.js#L25), tag `kms_encrypt_asymmetric` - [samples/encryptSymmetric.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/encryptSymmetric.js#L24), tag `kms_encrypt_symmetric` - [samples/generateRandomBytes.js:22](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generateRandomBytes.js#L22), tag `kms_generate_random_bytes` - [samples/generated/v1/ekm_service.create_ekm_connection.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/ekm_service.create_ekm_connection.js#L24), tag `cloudkms_v1_generated_EkmService_CreateEkmConnection_async` - [samples/generated/v1/ekm_service.get_ekm_connection.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/ekm_service.get_ekm_connection.js#L24), tag `cloudkms_v1_generated_EkmService_GetEkmConnection_async` - [samples/generated/v1/ekm_service.list_ekm_connections.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/ekm_service.list_ekm_connections.js#L24), tag `cloudkms_v1_generated_EkmService_ListEkmConnections_async` - [samples/generated/v1/ekm_service.update_ekm_connection.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/ekm_service.update_ekm_connection.js#L24), tag `cloudkms_v1_generated_EkmService_UpdateEkmConnection_async` - [samples/generated/v1/key_management_service.asymmetric_decrypt.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.asymmetric_decrypt.js#L24), tag `cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_async` - [samples/generated/v1/key_management_service.asymmetric_sign.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.asymmetric_sign.js#L24), tag `cloudkms_v1_generated_KeyManagementService_AsymmetricSign_async` - [samples/generated/v1/key_management_service.create_crypto_key.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.create_crypto_key.js#L24), tag `cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_async` - [samples/generated/v1/key_management_service.create_crypto_key_version.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.create_crypto_key_version.js#L24), tag `cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_async` - [samples/generated/v1/key_management_service.create_import_job.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.create_import_job.js#L24), tag `cloudkms_v1_generated_KeyManagementService_CreateImportJob_async` - [samples/generated/v1/key_management_service.create_key_ring.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.create_key_ring.js#L24), tag `cloudkms_v1_generated_KeyManagementService_CreateKeyRing_async` - [samples/generated/v1/key_management_service.decrypt.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.decrypt.js#L24), tag `cloudkms_v1_generated_KeyManagementService_Decrypt_async` - [samples/generated/v1/key_management_service.destroy_crypto_key_version.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.destroy_crypto_key_version.js#L24), tag `cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_async` - [samples/generated/v1/key_management_service.encrypt.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.encrypt.js#L24), tag `cloudkms_v1_generated_KeyManagementService_Encrypt_async` - [samples/generated/v1/key_management_service.generate_random_bytes.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.generate_random_bytes.js#L24), tag `cloudkms_v1_generated_KeyManagementService_GenerateRandomBytes_async` - [samples/generated/v1/key_management_service.get_crypto_key.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.get_crypto_key.js#L24), tag `cloudkms_v1_generated_KeyManagementService_GetCryptoKey_async` - [samples/generated/v1/key_management_service.get_crypto_key_version.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.get_crypto_key_version.js#L24), tag `cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_async` - [samples/generated/v1/key_management_service.get_import_job.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.get_import_job.js#L24), tag `cloudkms_v1_generated_KeyManagementService_GetImportJob_async` - [samples/generated/v1/key_management_service.get_key_ring.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.get_key_ring.js#L24), tag `cloudkms_v1_generated_KeyManagementService_GetKeyRing_async` - [samples/generated/v1/key_management_service.get_public_key.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.get_public_key.js#L24), tag `cloudkms_v1_generated_KeyManagementService_GetPublicKey_async` - [samples/generated/v1/key_management_service.import_crypto_key_version.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.import_crypto_key_version.js#L24), tag `cloudkms_v1_generated_KeyManagementService_ImportCryptoKeyVersion_async` - [samples/generated/v1/key_management_service.list_crypto_key_versions.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.list_crypto_key_versions.js#L24), tag `cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_async` - [samples/generated/v1/key_management_service.list_crypto_keys.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.list_crypto_keys.js#L24), tag `cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_async` - [samples/generated/v1/key_management_service.list_import_jobs.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.list_import_jobs.js#L24), tag `cloudkms_v1_generated_KeyManagementService_ListImportJobs_async` - [samples/generated/v1/key_management_service.list_key_rings.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.list_key_rings.js#L24), tag `cloudkms_v1_generated_KeyManagementService_ListKeyRings_async` - [samples/generated/v1/key_management_service.mac_sign.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.mac_sign.js#L24), tag `cloudkms_v1_generated_KeyManagementService_MacSign_async` - [samples/generated/v1/key_management_service.mac_verify.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.mac_verify.js#L24), tag `cloudkms_v1_generated_KeyManagementService_MacVerify_async` - [samples/generated/v1/key_management_service.restore_crypto_key_version.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.restore_crypto_key_version.js#L24), tag `cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_async` - [samples/generated/v1/key_management_service.update_crypto_key.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.update_crypto_key.js#L24), tag `cloudkms_v1_generated_KeyManagementService_UpdateCryptoKey_async` - [samples/generated/v1/key_management_service.update_crypto_key_primary_version.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.update_crypto_key_primary_version.js#L24), tag `cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_async` - [samples/generated/v1/key_management_service.update_crypto_key_version.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/generated/v1/key_management_service.update_crypto_key_version.js#L24), tag `cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyVersion_async` - [samples/getKeyLabels.js:23](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/getKeyLabels.js#L23), tag `kms_get_key_labels` - [samples/getKeyVersionAttestation.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/getKeyVersionAttestation.js#L24), tag `kms_get_key_version_attestation` - [samples/getPublicKey.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/getPublicKey.js#L24), tag `kms_get_public_key` - [samples/iamAddMember.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/iamAddMember.js#L24), tag `kms_iam_add_member` - [samples/iamGetPolicy.js:23](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/iamGetPolicy.js#L23), tag `kms_iam_get_policy` - [samples/iamRemoveMember.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/iamRemoveMember.js#L24), tag `kms_iam_remove_member` - [samples/quickstart.js:18](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/quickstart.js#L18), tag `kms_quickstart` - [samples/restoreKeyVersion.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/restoreKeyVersion.js#L24), tag `kms_restore_key_version` - [samples/signAsymmetric.js:25](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/signAsymmetric.js#L25), tag `kms_sign_asymmetric` - [samples/signMac.js:25](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/signMac.js#L25), tag `kms_sign_mac` - [samples/updateKeyAddRotation.js:23](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/updateKeyAddRotation.js#L23), tag `kms_update_key_add_rotation_schedule` - [samples/updateKeyRemoveLabels.js:23](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/updateKeyRemoveLabels.js#L23), tag `kms_update_key_remove_labels` - [samples/updateKeyRemoveRotation.js:23](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/updateKeyRemoveRotation.js#L23), tag `kms_update_key_remove_rotation_schedule` - [samples/updateKeySetPrimary.js:24](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/updateKeySetPrimary.js#L24), tag `kms_update_key_set_primary` - [samples/updateKeyUpdateLabels.js:23](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/updateKeyUpdateLabels.js#L23), tag `kms_update_key_update_labels` - [samples/verifyAsymmetricEc.js:26](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/verifyAsymmetricEc.js#L26), tag `kms_verify_asymmetric_signature_ec` - [samples/verifyAsymmetricRsa.js:26](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/verifyAsymmetricRsa.js#L26), tag `kms_verify_asymmetric_signature_rsa` - [samples/verifyMac.js:26](https://github.com/googleapis/nodejs-kms/blob/059231a1b2686cc117b8cf3ecd5e90ae43d9f15d/samples/verifyMac.js#L26), tag `kms_verify_mac`

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below: