mirror of
https://github.com/bitwarden/server.git
synced 2025-05-20 11:04:31 -05:00
remove old doc db settings
This commit is contained in:
parent
4f59f38326
commit
8664b6bb2e
@ -3,13 +3,6 @@
|
|||||||
"siteName": "bitwarden",
|
"siteName": "bitwarden",
|
||||||
"baseVaultUri": "http://localhost:4001",
|
"baseVaultUri": "http://localhost:4001",
|
||||||
"jwtSigningKey": "THIS IS A SECRET. IT KEEPS YOUR TOKEN SAFE. :)",
|
"jwtSigningKey": "THIS IS A SECRET. IT KEEPS YOUR TOKEN SAFE. :)",
|
||||||
"documentDB": {
|
|
||||||
"uri": "SECRET",
|
|
||||||
"key": "SECRET",
|
|
||||||
"databaseId": "SECRET",
|
|
||||||
"collectionIdPrefix": "SECRET",
|
|
||||||
"numberOfCollections": 1
|
|
||||||
},
|
|
||||||
"sqlServer": {
|
"sqlServer": {
|
||||||
"connectionString": "SECRET"
|
"connectionString": "SECRET"
|
||||||
},
|
},
|
||||||
|
@ -8,20 +8,10 @@ namespace Bit.Core
|
|||||||
public virtual string SiteName { get; set; }
|
public virtual string SiteName { get; set; }
|
||||||
public virtual string BaseVaultUri { get; set; }
|
public virtual string BaseVaultUri { get; set; }
|
||||||
public virtual string JwtSigningKey { get; set; }
|
public virtual string JwtSigningKey { get; set; }
|
||||||
public virtual DocumentDBSettings DocumentDB { get; set; } = new DocumentDBSettings();
|
|
||||||
public virtual SqlServerSettings SqlServer { get; set; } = new SqlServerSettings();
|
public virtual SqlServerSettings SqlServer { get; set; } = new SqlServerSettings();
|
||||||
public virtual MailSettings Mail { get; set; } = new MailSettings();
|
public virtual MailSettings Mail { get; set; } = new MailSettings();
|
||||||
public virtual LoggrSettings Loggr { get; set; } = new LoggrSettings();
|
public virtual LoggrSettings Loggr { get; set; } = new LoggrSettings();
|
||||||
|
|
||||||
public class DocumentDBSettings
|
|
||||||
{
|
|
||||||
public string Uri { get; set; }
|
|
||||||
public string Key { get; set; }
|
|
||||||
public string DatabaseId { get; set; }
|
|
||||||
public string CollectionIdPrefix { get; set; }
|
|
||||||
public int NumberOfCollections { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public class SqlServerSettings
|
public class SqlServerSettings
|
||||||
{
|
{
|
||||||
public string ConnectionString { get; set; }
|
public string ConnectionString { get; set; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user