Qleet Authentication¶
You can use qleetctl to authenticate to your Qleet user account using the instructions below.
User Registration¶
-
Set user password by creating a file called
/tmp/qleet-password-env
.1
echo "export password=<password>" > /tmp/qleet-password-env
-
Source password by running
source
on the above file.1
source /tmp/qleet-password-env
-
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
-
Source config by running
source
on the above file.1
source config-env-var
-
Register Qleet user.
1
qleetctl register user --account $accountName --username $email --password $password
User Verification¶
You can verify a successfully registered user as follows:
-
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
-
Update your environment variables with the
code
andflow
values from the email.1 2
export code=894367 export flowId=b7182149-5f2a-40e2-b7e9-be59ce608171
-
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 |
|
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.