Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Cube user/passwort start argument

Solved837 views26th October 2022authentication Cube
0
André Kaiser [DevOps Advocate]532 16th October 2022 0 Comments

Hi Dojo community,

are there any command line arguments supported by Cube to log in as a specific user (and logoff) or can this be controlled in another way?

Our use case is a setup with another application running on the same client as Cube (but on another screen). The user selected in this application determines which user should be logged in to Cube. When the active user is logged out in the application also the user in Cube should be logged out automatically. When another user is selected for login this should also be used for login to Cube automatically. It should be avoided, that different users are logged in to the application and Cube at the same time. We could imagine to close cube and start it with a specific start arguments incl. user name and password via command line.

I already checked the documentation, but did not find start arguments for login:

https://docs.dataminer.services/user-guide/Getting_started/Accessing_DataMiner/Accessing_DataMiner_Cube/Opening_DataMiner_Cube/Options_for_opening_DataMiner_Cube.html

https://docs.dataminer.services/user-guide/Getting_started/Accessing_DataMiner/Accessing_DataMiner_Cube/Opening_DataMiner_Cube/Desktop_app_command_line_arguments.html

André Kaiser [DevOps Advocate] Selected answer as best 26th October 2022

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Bert Buysschaert [SLC] [DevOps Advocate]4.87K Posted 17th October 2022 0 Comments

Hi André,

Providing a password in the commandline arguments is not a secure practice so that option is not available.

Using the “Remember me” checkbox on the login screen, Cube does provide the option to store credentials, and it does this on an IP/hostname basis. If you have a cluster with multiple agents, you could launch Cube with host=dma1.internal.lan for one user and host=dma2.internal.lan for another user. You will need to login once to store the credentials. If you have a single agent and are not using HTTPS, you could use the hostname and the IP address as distinctive options.

Note that there is nothing that would prevent a logged-in user to log out and manually log in again using other credentials, if known.

There is no inter-process option to forcibly log off a Cube session aside from simply terminating the process. You could remotely send a KillClientRequestMessage through automation but you would have to find a way to uniquely identify the correct Cube session.

André Kaiser [DevOps Advocate] Selected answer as best 26th October 2022
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs