public function __construct($accountId = 0, $envId = 0, $scope = ScopeInterface::SCOPE_SCALR)
{
$this->crypto = \Scalr::getContainer()->crypto;
$this->accountId = $accountId;
$this->envId = $envId;
$this->scope = $scope;
$this->listScopes = [ScopeInterface::SCOPE_SCALR, ScopeInterface::SCOPE_ACCOUNT, ScopeInterface::SCOPE_ENVIRONMENT, ScopeInterface::SCOPE_ROLE, ScopeInterface::SCOPE_FARM, ScopeInterface::SCOPE_FARMROLE, ScopeInterface::SCOPE_SERVER];
$this->db = \Scalr::getDb();
}