You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(certSecretIsJSON)logger.LogTrace($"the certificate data will be stored as a JSON object with the base64 encoded cert stored in the property '{_certPropName}'");
102
-
102
+
elselogger.LogTrace($"the certificate data will be stored as the entire secret content at '{certParentPath}/{certSecretName}' and contain the base64 encoded cert.");
if(passphraseSecretIsJSON)logger.LogTrace($"the passphrase secret will be stored as a JSON object with the passphrase in the property '{_passphrasePropName}'");
105
-
105
+
elselogger.LogTrace($"the passphrase string will be stored as the entire secret content at '{passphraseParentPath}/{passphraseSecretName}'");
if(kvVersion==1)// in the key-value secrets engine v1; all secrets are stored as JSON
974
+
{
975
+
if(!certSecretIsJSON)
976
+
{
977
+
_certPropName="value";
978
+
certSecretIsJSON=true;
979
+
}
980
+
if(!passphraseSecretIsJSON)
981
+
{
982
+
_passphrasePropName="value";
983
+
passphraseSecretIsJSON=true;
984
+
}
985
+
}
986
+
957
987
logger.LogTrace($"cert secret name {certSecretName}");
958
988
logger.LogTrace($"retreiving the certificate store secret at {certParentPath+"/"+certSecretName} from the Key-Value secrets engine mounted at {_mountPoint}..");
959
989
logger.LogTrace($"the cert is {(certSecretIsJSON?"":"not")} a JSON property.");
@@ -1123,12 +1153,12 @@ public async Task<Dictionary<string, object>> ReadSecretAutoAsync(
1123
1153
}
1124
1154
else// v1
1125
1155
{
1126
-
Secret<Dictionary<string,object>>secret=null;
1156
+
logger.LogTrace($"making request to read secret at {mountPoint}{path}..");
0 commit comments