COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => SDK => Topic started by: dougp on 02 Jul 2024 10:36:14 AM

Title: Using SSO with the SDK
Post by: dougp on 02 Jul 2024 10:36:14 AM
Using:
Windows 10
Windows Server 2022
Cognos Analytics 11.2.4FP3

SSO is configured for users, so they don't need to log in.

All of the SDK examples show some method of manually logging in to use the SDK.  I would like to enable SDK routines to perform maintenance tasks off hours and unattended, without needing to store the username and password in plain text in the SDK app's source code.  Has someone here devised a way to automatically log in to use the SDK?  Would this be a different URL and a different reverse proxy in IIS?
Title: Re: Using SSO with the SDK
Post by: CognosAnalytics on 06 Mar 2025 02:23:38 PM
Hi,
In 11.2.4 FP3, you can create an API key for a user that you want to login with from SDK. This was the purpose of this feature introduction. Save the API key in a password vault (eg: Cyberark ID Vault), and use it to retreive the api key from the vault and login using this key.