Configure the PLOSSYS CLI Environment¶
When using an OIDC identity provider for user authentication, the following environment variables have to be set in Linux 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 (required). -
AUTH_ISSUER_URL
: The OIDC identity provider's auth issuer URL (required). -
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) -
ID_PROVIDER_NAME
: The name of the OIDC identity provider (required for some identity providers).
Example - environment variables for PLOSSYS CLI
AUTH_CLIENT_ID=seal-plossyscli
AUTH_CLIENT_SECRET=<client_secret_plossyscli>
AUTH_ISSUER_URL=https://p5_server:32769/auth/realms/SEAL
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 Linux 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
.