예제 #1
0
        public static string SaveSecretToKeyvault(string secretUri, string value)
        {
            ParseSecretUri(secretUri, out string keyvaultName, out string secretName);

            var secretValue = KeyVaultUtility.SaveSecretToKeyvault(keyvaultName, secretName, value).Result;

            return(secretValue);
        }
예제 #2
0
 public static string GetSecretsAndDeleteFromKeyvault(string keyvaultName, string flowId)
 {
     return(KeyVaultUtility.GetSecretsAndDeleteSecretsFromKeyVault(keyvaultName, flowId).Result);
 }
예제 #3
0
        public static string GetSecretFromKeyvault(string keyvaultName, string secretName)
        {
            var secretValue = KeyVaultUtility.GetSecretFromKeyvault(keyvaultName, secretName).Result;

            return(secretValue);
        }