public void AddSecret(string tableName, string key, string application, string name, SecureString value)
        {
            SetDependencies(tableName);
            var s  = new ClearSecret(application, name, value.ToUnprotectedString());
            var ps = _secretStore.Protect(key, s);

            _secretStore.Save(ps);
        }
 private async Task SetValueInSecretStoreIfIsSecret(ISecretStore secretStore, ApplicationConfiguration configuration, string key, string value)
 {
     if (configuration.Secrets.Contains(value))
     {
         //WriteVerbose($"Saving key {key} to key vault encoded as encoded key {secretStore.EncodeKey(key)}");
         await secretStore.Save(key, value);
     }
 }