- Notes, cautions, and warnings
- Introduction
- Requirements
- Download the software
- Verify the installation package
- Installation
- Uninstall Trusted Device
- Features
- Interoperability
- Run the BIOS Verification agent
- Results, troubleshooting, and remediation
The Appsettings Generator builds the required appsettings.json file and writes it to the Docker console. Optionally, you can configure the Appsettings Generator to create a PbkdfTenantApiKey for PBKDF2 password storage
The following table describes options that are used with the Appsettings Generator.
Option | Description |
---|---|
--help | This option displays help file in text format. |
--certfile | This option forces the Appsettings Generator to find certificate in a predefined location. |
The following table describes the parameters that are used to create the appsettings.json file.
Parameter | Required | Description |
---|---|---|
/app/Dell.TrustedDevice.EventsRepository.AppSettingsGenerator.dll | Yes | This string invokes the Appsettings Generator in the Event Repository container. |
dellemc/dtd-event-repository | Yes | This string defines the container image to use for this container.
NOTE: If a specific version of the Event Repository image is required, append this command with
:<version number>. For example:
dellemc/dtd-event-repository:1.0.2.0
|
Iterations | No | The number of iterations used to generate the TenantApiKey hash.
NOTE:
|
MaxFileSizeMb | No | The maximum size to which a log file can grow. When a log file exceeds this amount, the file is closed and a new log file is created. The default value for this parameter is 15 Mb. |
MaxActiveFileDays | No | The maximum amount of time, which is specified in days, for which a log file can be open. When the log file is open for longer than the time specified, it is closed, and a new log file is opened. The default for this parameter is one day. |
MaxFileAge | No | The time log files persist in the output folder. Files older than this time period, which is specified in days, are deleted. The default for this parameter is three days. |
Path | Yes | This parameter is the file path of the Kestrel certificate. |
Password | Yes | This parameter is the password to the Kestrel certificate. |
RandomFunction | No | The function used to hash the TenantApiKey.
NOTE:
|
Salt | No | The salt value used to hash the TenantApiKey.
NOTE:
|
TenantName | Yes | This parameter is the name of the tenant. This name is typically based on the company name or division. The TenantName should be unique in an organization. |
TenantApiKey | Yes | The TenantApiKey is a string that represents a password that a computer must provide during registration. |
TenantApiKeyHash | No | A hash value of the TenantApiKey.
NOTE:
|
TenantUUID | No | This parameter is the GUID of the Tenant. If a GUID is not provided, the Appsettings Generator creates one. |
--tty=false | No | To write the appsettings.json file to a specific location, use this option. |
HttpPort | No | This parameter is the Kestrel endpoint entity port. |
IssuerPublicCertsPem | No | This parameter is the file path of the public certificate.
NOTE: This parameter is required
only if the --certfile option is not in use.
|
IssuerPrivateKeyPem | No | This parameter is the file path of the private certificate.
NOTE: This parameter is required
only if the --certfile option is not in use.
|
TrustedRootsPem | No | This parameter is the file path of the trusted roots certificate.
NOTE: This parameter is required
only if the --certfile option is not in use.
|
Example commands
docker run dellemc/dtd-event-repository /app/Dell.TrustedDevice.EventsRepository.AppSettingsGenerator.dll --certfile TenantName=ExampleTenant TenantApiKey=ExampleTenantKey Path="/app/certs/example.pem" password=ExamplePassword
docker run dellemc/dtd-event-repository /app/Dell.TrustedDevice.EventsRepository.AppSettingsGenerator.dll TenantName=ExampleTenant TenantApiKey=ExampleTenantKey IssuerPublicCertsPem="C\eventrepository\Certs\ExamplePublicCert.pem" IssuerPrivateCertsPem="C\eventrepository\Certs\ExamplePrivateCert.pem" TrustedRootsPem="C\eventrepository\Certs\ExampleTrustedRoot.pem" Path="/app/certs/example.pem" password=ExamplePassword
docker run dellemc/dtd-event-repository /app/Dell.TrustedDevice.EventsRepository.AppSettingsGenerator.dll --certfile TenantName=ExampleTenant TenantApiKey=ExampleTenantKey TenantApiKeyHash="ExampleTenantApiHash" Salt="ExampleSalt" RandomFunction="ExmapleRandomFunction" Iterations=120000 Path="/app/certs/example.pem" password=ExamplePassword