--- title: "Configuration File" slug: "safran-project-integration-api-configuration-file" updated: 2025-08-21T07:04:17Z published: 2025-08-21T07:04:17Z canonical: "docs.safran.com/safran-project-integration-api-configuration-file" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.safran.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuration File ## Configuration File The Safran API comes with a file where you can adjust and configure the behavior of the Safran API. ### application.json This is the current configuration file for the Safran API. web.config This implementation also has a web.config file, and it needs to be left as is. Here is a sample file of the needed application.json file. **appsettings.json file** ``` { "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "AllowedHosts": "*", "_comment_connectionStrings": "The name of a connectionstring will be used in JsonWebToken authentication, docs.safran.com/docs/safran-project-integration-api-open-authentication. In case of multiple connectionstrings, requests use parameter 'Connectionstringkey=' else 'default' connectionstring will be used", "ConnectionStrings": { "default": "Data Source=127.0.0.1:1521/SafranDatabase;User Id=SAFRANSA;Password=safran;Max Pool Size=200;", "default_mss": "Server=127.0.0.1;Database=SafranDatabase;User Id=SAFRANSA;Password=safran;", "default_ora": "Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=SafranDatabase)));User Id=SAFRANSA;Password=safran;" }, }, "AppSettings": { "_comment_SafranWebApiAuthenticationType": "Use 'None' for no authentication, 'JsonWebToken' for Open Authentication (OAuth2.0), 'Basic' for basic database 'user' table authentication, or 'Kerberos' for Kerberos Windows Active Directory authentication", "SafranWebApiAuthenticationType": "Insert one from the list above", "_comment_SafranWebApiUsers": "domain\\ADgroup or just ADgroup (then users current domain is assumed) Only used for Kerberos Authentiaction", "SafranWebApiUsers": "domain\\ADgroup or just ADgroup", "_comment_SafranWebAPIOwnerVerificationDuringApiCalls": "Use True to verify that given owner in a API call matches the owner of the project. If the setting is "false", no validation is performed by the API.", "SafranWebAPIOwnerVerificationDuringApiCalls": "false", "_comment_jsonwebtoken": "This must be populated when using the JsonWebToken option in SafranWebApiAuthenticationType.", "jsonwebtoken": { "audienceclaim": "Find your AUD and insert it here, see Validate Token section in Microsoft itentity Platform, Verification in docs.safran.com/docs/safran-project-integration-api-microsoft-identiy-platform-verification", "issuer": "Same as audienceclaim, found easiest by decrypting a valid token" }, "_comment_License": "Section includes the license keys and folder location.", "License": { "_comment_License": "Add the lisence for Safran Integration API / Safran Reporting API. Remember to give 'IIS_IUSRS' or 'USERS' access to the file location, or API will result in an failure. docs.safran.com/docs/safran-project-integration-api-license ", "safranintegrationapi": "", "safrandatareportingapi": "", "FileLocation": "c:\\SafranApiLicense\\SafranApiLicense" }, "_comment_Compression": "The section includes configuration for compression, using Brotli and Gzip methods.", "Compression": { "_comment_BrotliCompression": "Optimal, Fastest, NoCompression", "_comment_GzipCompression" : "Optimal, Fastest, NoCompression, SmallestSize", "Brotli": "Optimal", "Gzip": "SmallestSize" }, "_comment_RemoveNullValuesFromTheResult": "The resulting data may contain null values, which are typically included in the JSON result string. You can shorten the result string by removing elements with null values. This can be achieved by setting this option to 'true'. To keep null values set to 'false'", "RemoveNullValuesFromTheResult": "true", }, "tracelog": { "serilog": { "_comment_serilog": "Valid values for serilog: Verbose, Debug, Information, Warning, Error, Fatal. Remember to give 'IIS_IUSRS' or 'USERS' access to the file location.", "minimum_level": "Fatal", "write_to_file_path": "c:\\temp\\SafranAPI.{Date}.Log.txt" }, "safranlog": { "api": "info,call", "controller": "info,sql,dbconnection,data", "service": "info,sql,dbconnection,data", "repositories": "info,sql,dbconnection,data", "data": "info,sql,dbconnection,data" } } } ``` ### web.config This used to be the configuration file prior moving to .Net Core. This file is no longer used. Your settings need to be moved to the new file “[Application.json](/v1/docs/configuration-file#applicationjson)”. This is only valid for version 7.3 and earlier. Here is a sample file of the web.config file. **web.config file** ``` ```