Credentials - Centralized TM1 Credentials Management
Pulse Version: 7.3.0+
Pulse needs a TM1 user to connect to each TM1 instance it monitors. When you manage tens or hundreds of TM1 instances, entering and updating these credentials one instance at a time in Instance Settings quickly becomes tedious, especially when passwords have to be rotated.
There are now 3 options to manage TM1 credentials for many TM1 instances at once:
Credentials page (7.3.0+): enter and save TM1 credentials under Administration | Credentials, then deploy them to as many TM1 instances as you need in a single action. This is described on this page.
Root Credential (7.2.0+): define one credential at the environment level, used by all the TM1 instances of that environment. See Reusing Credentials - Use Root Credential.
Pulse Python SDK (8.0.0): create and deploy credentials from a script, for example to automate password rotation. See Automating with the Pulse Python SDK below.
Choosing between the three options
All three options reduce manual effort, but they work at different levels.
| Credentials page (7.3.0+) | Root Credential (7.2.0+) | Pulse Python SDK |
|---|---|---|---|
Where it is configured | Administration | Credentials | Administration | Environments (non-IBM Cloud environments) | A Python script using |
Scope | Any TM1 instances you select, across one or many environments | All active TM1 instances of one environment | Any TM1 instances listed in the script |
How it is applied | Copied to each selected instance when you deploy | Used live by every instance of the environment | Copied to each target, same as the Credentials page |
Updating a password | Update, save and redeploy | Update once on the environment | Re-run the script |
If a TM1 instance rejects the credential | Only that instance is affected | The credential is marked invalid and all instances using it lose their connection | Only that instance is affected |
Per-instance exceptions | Edit the instance in Instance Settings | Set Prefer Instance Credential on the instance | Leave the instance out of the targets |
Best suited for | Many environments, mixed credentials, or when one failure must not stop monitoring of other instances | An environment where all TM1 instances share exactly the same TM1 user | Scheduled password rotation or integration with a password vault |
Creating TM1 credentials
Go to Administration | Credentials.
Click New.
Enter the TM1 user, password and a description that helps you recognise the credential later (for example Pulse service account - Production).
Click Save.
From this page you can also update or Delete existing credentials.
The Deploy button is enabled only once the credential has been saved successfully. If you change an existing credential, save it again before deploying.
Deploying credentials to TM1 instances
Select a saved credential and click Deploy.
The deployment screen shows, on the left, the credential that is going to be deployed (read only) and, on the right, the list of TM1 instances. Use the search box to filter the list when you have many instances.
Select the target TM1 instances.
Click Apply Credentials. A confirmation message is displayed once the deployment has completed.
Pulse re-validates the connection to each selected TM1 instance as part of the deployment, so there is no need to open and save Instance Settings afterwards.
How deployed credentials behave
Deployment is one way: the credential is copied into the settings of each selected TM1 instance. Once deployed, each instance holds its own copy, independent from the others and from the Credentials page.
You can still refine the credential of a single instance in Instance Settings. This change only affects that instance.
To change the password for all instances (for example after a password rotation), update the credential on the Credentials page, save it, then deploy it again to the relevant instances.
If one TM1 instance rejects the credential, only that instance is affected. The other instances keep connecting normally.
Environments using Root Credentials
If the environment of a TM1 instance has a Root Credential enabled, the root credential takes precedence. A credential deployed from the Credentials page is in effect only if the TM1 instance has Prefer Instance Credential set to true in its Pulse Instance Settings.
If you are moving from Root Credentials to centrally deployed credentials, either disable the Root Credential on the environment first, or enable Prefer Instance Credential on the instances that should use the deployed credential.
Automating with the Pulse Python SDK
Everything you do on the Credentials page can also be scripted with the Pulse Python SDK (pulse-api). The reserved_credentials namespace maps to the Credentials page:
Method | Equivalent in the UI |
|---|---|
| List the saved credentials (secrets masked) |
| New / Save |
| Delete (no confirmation step) |
| Deploy then Apply Credentials |
The example below saves a credential, then deploys it to two TM1 instances located in two different environments:
from pulse_api import PulseApi, PulseApiError
client = PulseApi('https://pulse.example.com')
client.login.login_with_api_key('pulse_xxxxxxxx')
try:
# 1. Create or update the credential (keyed by credentialID)
client.reserved_credentials.save({
'credentialID': 'pulse-svc-prod',
'description': 'Pulse service account - Production',
'provider': 'Basic', # or CAMNamespace with 'namespace'
'userName': 'pulse_svc',
'password': 'new-password',
})
# 2. Deploy it to the target TM1 instances
client.reserved_credentials.deploy('pulse-svc-prod', [
{'serverName': 'PROD01', 'serviceName': 'Finance'},
{'serverName': 'PROD02', 'serviceName': 'Sales'},
])
print('Credential deployed')
except PulseApiError as e:
print(e.message, e.status, e.body)
finally:
client.login.logout()serverName is the Pulse environment name and serviceName the TM1 instance name. The same rules as the UI apply: the deployment is one way, and on environments with a Root Credential the instance must have Prefer Instance Credential enabled.
To load instance credentials in bulk without creating a reusable credential, client.credentials.upload('credentials.csv') accepts a CSV file with no header row in the format serverName,serviceName,userName,password[,camNamespace] (Basic and CAMNamespace only).