Setting up security tokens from a command line
Setting the client ID and secret at the time of provisioning
Use this command line syntax as a string, for example:
ConfigManager.exe -U:AUTHSERV -service:S2S -client:mongoose_core
          -apigatewayid:lwsemccup8 -serviceendpoint:/test/as/v1/api/clients/ -addtoapp:CSI
          -servicename:mongoose_core -trace -overwrite
where:
- -serviceis the service name.
- -clientis the client type.
- -apigatewayidis the client registration API Gateway ID.
- -apigatewayurlis the client registration API Gateway URL.
- -serviceendpointis the client registration API service path.
- -addtoappis the application name. Optionally, use this flag to save the secrets in the configuration for the application.
- -servicenameis the service name. Optionally, use this flag to save the security token in the service name, instead of the client type.
- -traceis an optional flag that is used to check internal values.
- -overwriteis an optional flag that is used to overwrite the existing service name.
Generating JSON file to be used to get the client ID and secret
Use this command line syntax as a string, for example:
ConfigManager.exe -U:AUTHSERV -service:
          S2SJSONTOFILE -client:mongoose_core -apigatewayid:lwsemccup8
          -serviceendpoint:/test/as/v1/api/clients/ -filetostore:fileName -trace -overwrite
where:
- -serviceis the service name.
- -clientis the client type.
- -apigatewayidis the client registration API Gateway ID.
- -apigatewayurlis the client registration API Gateway URL.
- -serviceendpointis the client registration API service path.
- -filetostoreis the file name of the path, where the generated JSON keys will be stored.
- -traceis an optional flag that is used to check internal values.
- -overwriteis an optional flag that is used to overwrite the existing service name.
Adding or deleting the consumer key and secret at the time of provisioning
Use this command line syntax as a string, for example:
ConfigManager.exe -U:AUTHSERV -service:IONCE
          -functionname:ionce-provision-oauth-token-ionce-app-integ-71int -servicetype:datacatalog
          -action:renew -logicalid:lid://infor.mongoose.dev -appfarmid:ucongmalakar3 -uses:admin
          -addtoapp:CSI -logtype:tail
where:
- -serviceis the service name.
- -typeis an optional flag that is specified as RequestResponse, Event, DryRun, and so on. The default value is RequestResponse.
- -functionnameis a lambda function.
- -servicetypeis the service type string.
- -actionis an action that is specified as add, renew, delete, or get.
- -logicalidis the string that is used as the logical ID and the identifier for the originating site.
- -appfarmidis an optional flag that is specified as the application farm ID.
- -logtypeis an optional flag that is set to tail to include the execution log in the response.
- -usesis a flag that is specified as reader, admin, user, and content-provisioner, separated by a comma.
- -addtoappis the application name. Optionally, use this flag to save the secrets in the configuration for the application. This flag is applicable for add and renew actions, and RequestResponse type.
- -servicenameis the service name. Optionally, use this flag to save the security token in the service name, instead of the client type.
Adding or deleting the consumer key and secret, and store the response JSON in a file
Use this command line syntax as a string, for example:
ConfigManager.exe -U:AUTHSERV -service:
          IONCEJSONTOFILE -functionname:ionce-provision-oauth-token-ionce-app-integ-71int
          -servicetype:datacatalog -action:renew -logicalid:lid://infor.mongoose.dev
          -appfarmid:ucongmalakar3 -uses:admin -filetostore:fileName
where:
- -serviceis the service name.
- -typeis an optional flag that is specified as RequestResponse, Event, DryRun, and so on. The default value is RequestResponse.
- -functionnameis a lambda function.
- -servicetypeis the service type string.
- -actionis an action that is specified as add, renew, delete, or get.
- -logicalidis the string that is used as the logical ID and the identifier for the originating site.
- -appfarmidis an optional flag that is specified as the application farm ID.
- -logtypeis an optional flag that is set to tail to include the execution log in the response.
- -usesis a flag that is specified as reader, admin, user, and content-provisioner, separated by a comma.
- -filetostoreis the file name of the path, where the generated JSON keys will be stored.
Storing security tokens for any application by service name in Mongoose Configuration
Use this command line syntax as a string, for example:
ConfigManager.exe -U:AUTHSERV -service:AUTHTOKEN
          -mode:add -app:appName -type:I
          -servicename:datacatalog -logicalid:lid://infor.mongoose.dev
where:
- -serviceis the service name.
- -modeis specified as new, edit, or delete.
- -appis the application name.
- -typeis the authentication type, where:- I is ION CE Connector
- S is Service to Service authentication
- O is OAuth credentials
 
- -servicenameis the service type string.
- -logicalidis the string that is used as the logical ID and the identifier for the originating site.
- -keyis the consumer key.
- -secretis the consumer secret key.
- -additionalpropsis an optional flag that is specified as other properties to store.