Skip to content

Qleet Authentication

You can use qleetctl to authenticate to your Qleet user account using the instructions below.

User Registration

  1. Set user password by creating a file called /tmp/qleet-password-env.

    1
    echo "export password=<password>" > /tmp/qleet-password-env
    
  2. Source password by running source on the above file.

    1
    source /tmp/qleet-password-env
    
  3. Set user environment variables by creating a file called config-env-var.

    1
    2
    3
    4
    5
    6
    export region=<region>     # your default AWS region
    export email=<email>       # your user email
    
    # provided by Qleet
    export controlPlaneName=dev
    export accountName=congobookstore
    
  4. Source config by running source on the above file.

    1
    source config-env-var
    
  5. Register Qleet user.

    1
    qleetctl register user --account $accountName --username $email --password $password
    

User Verification

You can verify a successfully registered user as follows:

  1. Check your email (and potentially spam folder) for an email from haris@qleet.io that looks like this. At this time, the URL is an invalid link to a localhost address that doesn't exist so don't click the link.

    1
    Hi, please verify your account by using the following code: 894367, URL: http://localhost:31500/kratos/self-service/verification?code=894367&flow=b7182149-5f2a-40e2-b7e9-be59ce608171
    
  2. Update your environment variables with the code and flow values from the email.

    1
    2
    export code=894367
    export flowId=b7182149-5f2a-40e2-b7e9-be59ce608171
    
  3. Verify Qleet account.

    a. Use the values from the link in the email.

    1
    2
    3
    ```bash
    qleetctl verify user --account $accountName --code $code --flow $flowId
    ```
    

    b. Or copy-past the entire link from the email.

    1
    2
    3
    ```bash
    qleetctl verify user --link "http://localhost:31500/kratos/self-service/verification?code=894367&flow=b7182149-5f2a-40e2-b7e9-be59ce608171"
    ```
    

User Login

You can login to a succesfully verified account via the following command.

1
qleetctl login user --account $accountName --username $email --password $password

Next Steps

Now that you are logged in to your Qleet user account, you can optionally add other users to your company's Qleet account using our Qleet User guide. You can also set role-based-access-control (RBAC) for those users by following our Qleet RBAC guide.

Or, if you're ready to get started using our managed Threeport control planes, follow our Control Plane guide.