aboutsummaryrefslogtreecommitdiff
path: root/lib/VNLib.Plugins.Extensions.Loading/src/Secrets/VaultSecrets.cs
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-09-17 14:29:49 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-09-17 14:29:49 -0400
commit711b12fa249cba9effecd4e722dd8d460d083659 (patch)
treed8007397d03eb519544652625fe516d0b0b904f8 /lib/VNLib.Plugins.Extensions.Loading/src/Secrets/VaultSecrets.cs
parentd2ced505e339d81a1d5954067f5766d42aa8d138 (diff)
feat: some mvc static routing extensionsdevelop
Diffstat (limited to 'lib/VNLib.Plugins.Extensions.Loading/src/Secrets/VaultSecrets.cs')
-rw-r--r--lib/VNLib.Plugins.Extensions.Loading/src/Secrets/VaultSecrets.cs15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/VNLib.Plugins.Extensions.Loading/src/Secrets/VaultSecrets.cs b/lib/VNLib.Plugins.Extensions.Loading/src/Secrets/VaultSecrets.cs
index 9be74ee..8bf9d68 100644
--- a/lib/VNLib.Plugins.Extensions.Loading/src/Secrets/VaultSecrets.cs
+++ b/lib/VNLib.Plugins.Extensions.Loading/src/Secrets/VaultSecrets.cs
@@ -108,21 +108,6 @@ namespace VNLib.Plugins.Extensions.Loading
}
/// <summary>
- /// Gets a secret at the given vault url (in the form of "vault://[mount-name]/[secret-path]?secret=[secret_name]")
- /// </summary>
- /// <param name="plugin"></param>
- /// <param name="vaultPath">The raw vault url to lookup</param>
- /// <returns>The string of the object at the specified vault path</returns>
- /// <exception cref="UriFormatException"></exception>
- /// <exception cref="KeyNotFoundException"></exception>
- /// <exception cref="ObjectDisposedException"></exception>
- [Obsolete("Deprecated in favor of Secrets")]
- public static Task<ISecretResult?> GetSecretFromVaultAsync(this PluginBase plugin, ReadOnlySpan<char> vaultPath)
- {
- throw new NotSupportedException("This method is not supported in this context");
- }
-
- /// <summary>
/// Gets the Secret value as a byte buffer
/// </summary>
/// <param name="secret"></param>