TeamcenterKnowledge

Integration utilities > Linked Data Framework utilities

maintain_consumer_key

Supports creating or deleting OAuth consumer keys. Syntax maintain_consumer_key [-u=user-id {-p=password | -pf=password-file} -g=group] [-mode=add|delete] [-consumer_name=Linked-Data-Framework-consumer-name] [-consumer_secret=secret-code] [-consumer_key=existing-consumer-key] [-isTrusted=Y|N] [-h] Arguments -u Specifies the user ID. This is a user with Teamcenter administration privileges. Note If Security Services single sign-on (SSO) is enabled for your server, the -u and -p arguments are authenticated externally through SSO rather than being authenticated against the Teamcenter database. If you do not supply these arguments, the utility attempts to join an existing SSO session. If no session is found, you are prompted to enter a user ID and password. -p Specifies the password. This argument is mutually exclusive with the -pf argument. -pf Specifies the password file. For more information about managing password files, see Manage password files. This argument is mutually exclusive with the -p argument. -g Specifies the group associated with the user. If used without a value, the user's default group is assumed. -mode Specifies whether to add or delete an OAuth consumer key. -consumer_name Specifies the name of Linked Data Framework consumer. -consumer_secret Specifies an OAuth key. This argument is used only when the argument -mode=add. -consumer_key Specifies the existing OAuth consumer key. This argument is used only when the argument -mode=delete. -isTrusted Specifies if the consumer is trusted. -h Displays help for this utility. Environment As specified in Setting up a Teamcenter command-line environment. Files As specified in Log files produced by Teamcenter. Restrictions None. Examples Adding an OAuth consumer key: Copy maintain_consumer_key  -u=username -p=password -g=dba -mode=add -consumer_name=RTC -consumer_secret=111 -isTrusted=Y Deleting an OAuth consumer key: Copy maintain_consumer_key  -u=username -p=password -g=dba -mode=delete -consumer_name=RTC -consumer_secret=111 Copy -consumer_key=12789259677583223 -isTrusted=Y

Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/zrm1737253709814/ndp1737253709894/xid1180261.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)