Delphix Products

 View Only
  • 1.  What's the default Data Control Tower password?

    Posted 03-13-2024 04:42:00 PM
    Edited by Nicholas Mathison 07-29-2024 05:11:34 PM

    Question

    I just installed Data Control Tower (DCT). However, I'm unsure what the default login username/password is. 

    Answer 

    For the first login, the administrator will use an API Key rather than a username and password. 
    The API key is automatically generated and presented in the DCT Gateway Pod's logs. For security reasons, you use this key to create a new administrative user and immediately delete the API Key user afterward. We call this API Key the "bootstrapping" API Key.

    Directions

    1. Navigate to DCT's Kubernetes cluster to perform a `kubectl` or `oc` command to view the Gateway Pod's logs. You might need to consult your Cloud Administrator. Follow the directions based on your installation platform.

    2. The API Key will look something like the following early in the Gateway logs:

    NEWLY GENERATED API KEY: 1.0p9PMkZO4Hgy...

    3. Use this key to authenticate via the API Key approach on the DCT homepage.



    ------------------------------
    Nicholas Mathison
    PM
    Delphix
    ------------------------------



  • 2.  RE: What's the default Data Control Tower password?

    Posted 07-24-2024 08:57:00 AM
    Edited by Horacio Rosende 07-24-2024 02:03:35 PM

    Hello Nicholas

    We had this question and we weren't very sure what to do with these directions:

    https://dct.delphix.com/docs/latest/username-password

    Thanks for this post. Here there are some instructions that might help others.

    This command gets all pods in the cluster:

    kubectl get pods -n dct-services

    Output example:

    NAME                                                 READY   STATUS      RESTARTS      AGE
    gateway-75a6aa5c88-m3kml             1/1           Running       0                      14h

    Look for the gateway pod name and replace for the correct one in the following command to get gateway logs.

    kubectl logs gateway-75a6aa5c88-m3kml -n dct-services | grep 'NEWLY GENERATED API KEY'

    The output will be something like this:

    NEWLY GENERATED API KEY: 1.aXyz123Abc456dEf .... 

    Using this API key, execute curl to create a new admin user, like this:

    curl -k --location --request POST 'https://DCT IP Address/v2/management/accounts'   --header 'Content-Type: application/json'   --header 'Accept: application/json'   --header 'Authorization: apk 1.aXyz123Abc456dEf ....'   --data-raw '{
        "username": "admin",
        "password": "yourPasswordDct$123",
        "generate_api_key": false,
         "is_admin": true
    }'

    Don't forget to replace DCT Ip Address and APi key in curl command.

    Password must be at least 15 characters long including upper & lower letters, one special character and a number. If password requeriments are not met, curl response will tell them.

    Regards!

    H



    ------------------------------
    Horacio GrupoNet
    Innovation Manager
    Grupo Net S.A.
    ------------------------------



  • 3.  RE: What's the default Data Control Tower password?

    Posted 07-29-2024 05:16:00 PM

    Thanks for the comment, Horacio! Thanks for adding the steps to find and `grep` the gateway service.

    As another approach, once you've found the API Key and logged into the DCT UI with the key, you can also create a new Account (ie Username and Password) by navigating to the Admin > Accounts tab. (As of today, the Username/password doc page linked does not document this approach.) Once a new account has been created the bootstrap admin user can be safely deleted.



    ------------------------------
    Nicholas Mathison
    PM
    Delphix
    ------------------------------