@iehr/agent
v4.3.184
Published
iEHR Agent
Downloads
498
Readme
iEHR Agent
On-prem agent for device connectivity.
[!WARNING] The iEHR Agent is currently in "alpha", and not ready for production use.
Please contact iEHR if you would like to learn more or get involved.
Building
Published releases are built using Github Actions. See the installer build script for details.
The following tools are used to build the agent:
- Node.js
- Vercel pkg to build the
.exe
file - NSIS to build the installer
- Shawl for the Microsoft Windows service wrapper
- JSign to sign the executable files
The following environment variables are required:
SM_HOST
- DigiCert Signing Manager hostSM_API_KEY
- DigiCert Signing Manager API keySM_CLIENT_CERT_FILE_BASE64
- DigiCert Signing Manager client certificate file (base64 encoded)SM_CLIENT_CERT_PASSWORD
- DigiCert Signing Manager client certificate passwordSM_CERT_ALIAS
- DigiCert Signing Manager certificate alias
The SM_CLIENT_CERT_FILE_BASE64
environment variable can be generated from the certificate file:
base64 Certificate_pkcs12.p12
References:
Docker Image
Build and run the docker image
docker build -t iehr-agent:latest \
--build-arg GIT_SHA=$(git log -1 --format=format:%H) \
--build-arg IEHR_VERSION=3.0.3 .
docker run --rm \
-e IEHR_BASE_URL="" \
-e IEHR_CLIENT_ID="" \
-e IEHR_CLIENT_SECRET="" \
-e IEHR_AGENT_ID="" \
iehr-agent:latest
Optionally set the IEHR_LOG_LEVEL
environment variable
-e IEHR_LOG_LEVEL="DEBUG"