-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(azure/get-or-create-secret-in-key-vault.md): encapsulate Key…
… Vault operations in classes The code in the documentation has been refactored to encapsulate the Azure Key Vault operations within two classes, `AzureSecretClient` and `KeyVaultManipulator`. This change improves the organization of the code, making it more modular and easier to maintain. The `AzureSecretClient` class is responsible for creating a `SecretClient` instance, while the `KeyVaultManipulator` class provides methods for manipulating environment variables within the Key Vault secrets. This refactor also includes the addition of methods for deleting environment variables and updating the usage examples to reflect the new class-based approach.
- Loading branch information
1 parent
b5ce3c6
commit 491cf1b
Showing
1 changed file
with
178 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters