Configure the PLOSSYS CLI Environment¶
When using an OIDC identity provider for user authentication, the following environment variables have to be set in Windows for calling PLOSSYS CLI:
-
AUTH_CLIENT_ID
: Client name configured in the OIDC identity provider for theseal-plossycli
client, by defaultseal-plossyscli
-
AUTH_CLIENT_SECRET
: Client secret generated in the OIDC identity provider for theseal-plossycli
client. -
CONSUL_URL
: URL of the Consul server (required if PLOSSYS CLI is executed on a server different to the PLOSSYS 5 server for managing the jobs and printers)
Example - environment variables for PLOSSYS CLI
AUTH_CLIENT_ID=seal-plossyscli
AUTH_CLIENT_SECRET=<client_secret_plossyscli>
CONSUL_URL=https://p5_server:8500
Literature - keys
For further information about the keys, refer to the description of the Service Keys.
Caution - validity
The environment variables set globally in Windows are valid for other services as well, seal-plossysadmin
for example. Make sure that the settings for seal-plossysadmin
are specified explicitly in the configuration, refer to Configure the PLOSSYS Administrator Environment
.