mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
[PM-2594] Added new property "CloudRegion" to GlobalSettings and ConfigResponseModel to be able to override the cloud url value for selfhost instances (#3024)
* [PM-2594] Added new property "CloudVault" to GlobalSettings and ConfigResponseModel to be able to override this value for selfhost instances * [PM-2594] Renamed EnvironmentConfigResponseModel.CloudVault to CloudWebVault * [PM-2594] Added default value for globalSettings__baseServiceUri__cloudWebVault on EnvironmentFileBuilder * [PM-2594] Erased CloudWebVault environment variable and added CloudVaultRegion * [PM-2594] Changed var name on EnvironmentFileBuilder * [PM-2594] Renamed the env. variable and also the output property to CloudRegion
This commit is contained in:
@ -143,6 +143,7 @@ public class GlobalSettings : IGlobalSettings
|
||||
_globalSettings = globalSettings;
|
||||
}
|
||||
|
||||
public string CloudRegion { get; set; }
|
||||
public string Vault { get; set; }
|
||||
public string VaultWithHash => $"{Vault}/#";
|
||||
|
||||
|
@ -3,6 +3,7 @@ namespace Bit.Core.Settings;
|
||||
|
||||
public interface IBaseServiceUriSettings
|
||||
{
|
||||
string CloudRegion { get; set; }
|
||||
string Vault { get; set; }
|
||||
string VaultWithHash { get; }
|
||||
string Api { get; set; }
|
||||
|
Reference in New Issue
Block a user