Delphix Products

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

    Posted 03-13-2024 04:42:00 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

    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.
    The API Key will look something like the following early in the Gateway logs:
    ````
    NEWLY GENERATED API KEY: 1.0p9PMkZO4Hgy...
    ````
    Use this key to authenticate via the API Key approach on the DCT homepage.
    image.png


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


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

    Posted 7 hours ago
    Edited by Horacio GrupoNet 2 hours ago

    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.
    ------------------------------