Files
mopac-glpi-go/env.example
T

10 lines
490 B
Plaintext

# mglpi connection env file (copy to ~/.creds/mglpi.env and chmod 600)
# MGLPI_URL, MGLPI_APP_TOKEN and MGLPI_USER_TOKEN are required;
# MGLPI_PROFILE_ID is optional (agent mode: auto-switch to this GLPI
# profile id, e.g. 5 = Hotliner, after InitSession). The file must be
# 0600 or stricter — mglpi refuses looser files before reading them.
MGLPI_URL=https://cmdb.knownelement.com/apirest.php
MGLPI_APP_TOKEN=your-glpi-app-token
MGLPI_USER_TOKEN=your-glpi-user-token
MGLPI_PROFILE_ID=0