relocate kv samples (#5582)

* relocate kv samples

* temp removal of links
This commit is contained in:
George Arama 2024-04-30 15:09:49 -07:00 committed by GitHub
parent 3c7972b1cc
commit bd08d226e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
48 changed files with 23 additions and 21 deletions

View File

@ -118,7 +118,7 @@ if (BUILD_PERFORMANCE_TESTS)
endif() endif()
if(BUILD_SAMPLES) if(BUILD_SAMPLES)
add_subdirectory(test/samples) add_subdirectory(samples)
endif() endif()
az_vcpkg_export( az_vcpkg_export(

View File

@ -97,4 +97,6 @@ certificateClient.PurgeDeletedCertificate(certificateName);
## Source ## Source
To see the full example source, see: To see the full example source, see:
[Source Code](https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-certificates/test/samples/certificate-basic-operations) [Source Code](https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-certificates/samples/certificate-basic-operations)
[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/README.md

View File

@ -130,4 +130,6 @@ If the Azure Key Vault is soft delete-enabled and you want to permanently delete
## Source ## Source
To see the full example source, see: To see the full example source, see:
[Source Code](https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-certificates/test/samples/certificate-get-certificates) [Source Code](https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-certificates/samples/certificate-get-certificates)
[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/README.md

View File

@ -90,4 +90,6 @@ certificateClient.PurgeDeletedCertificate(pemName);
## Source ## Source
To see the full example source, see: To see the full example source, see:
[Source Code](https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-certificates/test/samples/certificate-import-certificate) [Source Code](https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-certificates/samples/certificate-import-certificate)
[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/README.md

View File

@ -154,7 +154,7 @@ if (BUILD_PERFORMANCE_TESTS)
endif() endif()
if(BUILD_SAMPLES) if(BUILD_SAMPLES)
add_subdirectory(test/samples) add_subdirectory(samples)
endif() endif()
az_vcpkg_export( az_vcpkg_export(

View File

@ -91,6 +91,6 @@ keyClient.PurgeDeletedKey(rsaKeyName);
## Source ## Source
- [sample1_hello_world.cpp](https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/keyvault/azure-security-keyvault-keys/test/samples/sample1-hello-world/sample1_hello_world.cpp) - [sample1_hello_world.cpp](https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/keyvault/azure-security-keyvault-keys/samples/sample1-hello-world/sample1_hello_world.cpp)
[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/README.md [defaultazurecredential]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/README.md

View File

@ -56,6 +56,6 @@ auto restoredKey = keyClient.RestoreKeyBackup(inMemoryBackup).ExtractValue();
To see the full example source, see: To see the full example source, see:
- [sample2_backup_and_restore.cpp](https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/keyvault/azure-security-keyvault-keys/test/samples/sample2-backup-and-restore/sample2_backup_and_restore.cpp) - [sample2_backup_and_restore.cpp](https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/keyvault/azure-security-keyvault-keys/samples/sample2-backup-and-restore/sample2_backup_and_restore.cpp)
[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/README.md [defaultazurecredential]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/README.md

View File

@ -163,6 +163,6 @@ for (auto keysDeletedPage = keyClient.GetDeletedKeys().ExtractValue();;)
To see the full example source, see: To see the full example source, see:
- [sample3_get_keys.cpp](https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/keyvault/azure-security-keyvault-keys/test/samples/sample3-get-keys/sample3_get_keys.cpp) - [sample3_get_keys.cpp](https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/keyvault/azure-security-keyvault-keys/samples/sample3-get-keys/sample3_get_keys.cpp)
[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/README.md [defaultazurecredential]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/README.md

View File

@ -72,6 +72,4 @@ std::cout << " - Decrypted data using the algorithm " << decryptResult.Algorithm
## Source ## Source
To see the full example source, see: [defaultazurecredential]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/README.md
- sample4_encrypt_decrypt.cpp

View File

@ -138,6 +138,4 @@ std::cout << " - Verified the signature using the algorithm "
## Source ## Source
To see the full example source, see: [defaultazurecredential]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/README.md
- sample5_sign_verify.cpp

View File

@ -98,6 +98,6 @@ keyClient.PurgeDeletedKey(rsaKeyName);
## Source ## Source
- [sample6_wrap_unwrap.cpp](https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/keyvault/azure-security-keyvault-keys/test/samples/sample6-wrap-unwrap/sample6_wrap_unwrap.cpp) - [sample6_wrap_unwrap.cpp](https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/keyvault/azure-security-keyvault-keys/samples/sample6-wrap-unwrap/sample6_wrap_unwrap.cpp)
[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/README.md [defaultazurecredential]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/README.md

View File

@ -100,6 +100,6 @@ keyClient.PurgeDeletedKey(rsaKeyName);
## Source ## Source
- [sample7_key_rotation.cpp](https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/keyvault/azure-security-keyvault-keys/test/samples/sample7-key-rotation/sample7_key_rotation.cpp) - [sample7_key_rotation.cpp](https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/keyvault/azure-security-keyvault-keys/samples/sample7-key-rotation/sample7_key_rotation.cpp)
[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/README.md [defaultazurecredential]: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/identity/azure-identity/README.md

View File

@ -118,7 +118,7 @@ if (BUILD_PERFORMANCE_TESTS)
endif() endif()
if(BUILD_SAMPLES) if(BUILD_SAMPLES)
add_subdirectory(test/samples) add_subdirectory(samples)
endif() endif()
az_vcpkg_export( az_vcpkg_export(

View File

@ -84,4 +84,4 @@ secretClient.PurgeDeletedSecret(secret.Name);
## Source ## Source
To see the full example source, see: To see the full example source, see:
[Source Code](https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-secrets/test/samples/sample1-basic-operations) [Source Code](https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-secrets/samples/sample1-basic-operations)

View File

@ -89,5 +89,5 @@ auto restoredSecret = secretClient.RestoreSecretBackup(backedUpSecret).Value;
## Source ## Source
To see the full example source, see: To see the full example source, see:
[Source Code](https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-secrets/test/samples/sample2-backup-restore) [Source Code](https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-secrets/samples/sample2-backup-restore)

View File

@ -68,5 +68,5 @@ Secret restoredSecret = recoverOperation.PollUntilDone(2s).Value;
## Source ## Source
To see the full example source, see: To see the full example source, see:
[Source Code](https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-secrets/test/samples/sample3-delete-recover) [Source Code](https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-secrets/samples/sample3-delete-recover)

View File

@ -120,4 +120,4 @@ secretClient.PurgeDeletedSecret(secret2.Name);
## Source ## Source
To see the full example source, see: To see the full example source, see:
[Source Code](https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-secrets/test/samples/sample4-get-secrets-deleted) [Source Code](https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/keyvault/azure-security-keyvault-secrets/samples/sample4-get-secrets-deleted)