Connection settings
What tm1cm reads from connect.yaml and credentials.yaml, for each environment. Any of them can go in either file, and --connect KEY=VALUE (-c) on the command line wins over both.
connect.yaml
The server, and how to reach it: config/<environment>/connect.yaml, or config/default/ for every environment.
base_url | The server's address, without /api/v1, which tm1cm adds: |
address | The server's host name, used with port (and ssl) when base_url isn't set. |
port | The server's HTTP port (HTTPPortNumber in its tm1s.cfg), used with address when base_url isn't set. |
ssl | Whether address and port are reached over HTTPS: |
verify | Whether the server's certificate is checked: |
async_requests_mode | true for a server behind a gateway that times out long requests: |
session_context | The name TM1 shows for tm1cm's sessions, in TM1top and Arc: |
impersonate | Another TM1 user to act as, for an admin user. |
timeout | How many seconds tm1cm waits for TM1 to answer a request. |
auth | How to log in, when tm1cm shouldn't work it out: |
dispatcher | Cognos's address, when the one TM1 gives (its ClientCAMURI) isn't reachable from where tm1cm runs: |
browser | The path of a Chromium-based browser for signing in, when tm1cm doesn't find Chrome, Edge, Brave or Chromium itself. |
proxies | Not supported: |
base_url
The server's address, without /api/v1, which tm1cm adds: https://tm1.example.com:12354. For Planning Analytics on IBM Cloud, the address up to the server: https://mycompany.planning-analytics.ibmcloud.com/tm1/api/tm1.
address
The server's host name, used with port (and ssl) when base_url isn't set. localhost unless set.
port
The server's HTTP port (HTTPPortNumber in its tm1s.cfg), used with address when base_url isn't set.
ssl
Whether address and port are reached over HTTPS: true unless set.
verify
Whether the server's certificate is checked: not unless set. true checks it against the system's certificates; the path of a CA bundle checks it against that, for a server whose certificate it signs.
async_requests_mode
true for a server behind a gateway that times out long requests: TM1 is asked to answer them asynchronously, and tm1cm waits for the answer.
session_context
The name TM1 shows for tm1cm's sessions, in TM1top and Arc: tm1cm unless set.
impersonate
Another TM1 user to act as, for an admin user.
timeout
How many seconds tm1cm waits for TM1 to answer a request.
auth
How to log in, when tm1cm shouldn't work it out: basic (TM1's own security), cam (a user and password in a CAM namespace) or browser (signing in to the namespace in a browser window).
dispatcher
Cognos's address, when the one TM1 gives (its ClientCAMURI) isn't reachable from where tm1cm runs: https://cognos.example.com/ibmcognos/bi/v1/disp.
browser
The path of a Chromium-based browser for signing in, when tm1cm doesn't find Chrome, Edge, Brave or Chromium itself.
proxies
not supportedNot supported: set HTTPS_PROXY (or HTTP_PROXY) in the environment instead.
credentials.yaml
Who logs in: config/default/credentials.yaml, or an environment's own. The scaffold's .gitignore keeps these files out of git.
user | The user to log in as. |
password | The user's password. |
namespace | The CAM namespace to log in to, for a server in CAM security. |
cam_passport | A CAM passport (the cam_passport cookie of a browser signed in to Cognos) to log in with. |
gateway | A CAM gateway's address, for Windows single sign-on. |
decode_b64 | true when password is base64-encoded. |
integrated_login | Not supported: |
user
The user to log in as. Asked for when it isn't set and there's a terminal.
password
secretThe user's password. Leave it out and tm1cm asks for it, so it isn't kept in a file. An empty password is tried first, for a user that has one.
namespace
The CAM namespace to log in to, for a server in CAM security. Without one, tm1cm lists Cognos's namespaces to pick from.
cam_passport
secretA CAM passport (the cam_passport cookie of a browser signed in to Cognos) to log in with. With base_url, it is all tm1cm needs. A passport expires.
gateway
A CAM gateway's address, for Windows single sign-on. With the requests_negotiate_sspi package installed it signs on directly; otherwise through the browser.
decode_b64
true when password is base64-encoded.
integrated_login
not supportedNot supported: Windows integrated security straight to TM1 (security mode 3). Refused, with what to use instead.
Accepted and ignored
Settings of TM1py, which tm1cm used before 1.0, that skipcheck-tm1 manages itself: cancel_at_timeout, connection_pool_size, logging, re_connect_on_session_timeout, tcp_keepalive. A project that has them works as before.