DCImanager 6 Knowledge Base

How to sign in to the platform with a key?

You can give a user temporary access to the platform with a key. For example, you may need this to provide access to the technical support staff. To generate a key:

  1. Create a user in DCImanager 6 for temporary access.
  2. Connect to the server with DCImanager 6 via SSH with superuser permissions.
  3. Enter the command:

    docker exec dci_back curl -s -H 'Internal-Auth: on' http://input:1500/api/auth/v4/user/<user>/key -d '{}'
    Comments to the command

    In response, you will get the message in the form:

    Example of response
    {"id":"4","key":"4-74e7c0e9-a5ff-4f52-a2ac-ed03c6ed1e21"}
    Comments to the response

The user will be able to log in to the platform via a link in the following format: https://domain.com/auth/key-v4/<key>

Comments

The key is valid for one hour.