public void Normalization_WorksAsExpected(string name)
        {
            string normalizedName = KeyVaultSecretsRepository.Normalize(name);
            string test           = KeyVaultSecretsRepository.Denormalize(normalizedName);

            Assert.Equal(test, name);
        }
Ejemplo n.º 2
0
 private string GetSecretName(string secretName)
 {
     string[] array = secretName.Split("--");
     return(KeyVaultSecretsRepository.Denormalize(array[array.Length - 1]));
 }