2. Get access
Registering
To access AosCloud, begin by registering for an AosEdge user account:
- New Users
- Existing Users
If you're new to AosEdge, click the Sign Up link on the AosEdge website to create a new account. Complete the registration form with the required details. A screenshot showing the 'Create an account' form will help guide you through this step.
After completing the registration, you will receive a welcome email with further instructions to generate your user certificate.
If you already have an AosEdge account and need to restore your certificate, use the dedicated link provided for existing users.
Generating and installing user certificate
After registering, you will receive a welcome email from AosEdge. This email contains a crucial command for generating your user certificate.
This mail looks like this:
Open a terminal on your computer. From AosCloud welcome email, copy the command under the Generate user certificate with the following command and execute it in the terminal:
aos-keys new-user -d aoscloud.io -t [user_token] --sp
In case of success, the command response is like follows:
File C:\Users\johndoe\.aos\security\aos-user-oem.p12 created
Done!
Installing certificates into browsers
Once your certificate is generated, the next step is to install it into your browser. This ensures secure and authenticated access to AosCloud.
To install certificates, use the command from email under "Then install it into browsers with command":
For OEM:
aos-keys install-cert --oem
For SP:
aos-keys install-cert --sp
Viewing OEM, Fleet Owner, and SP user certificates
Locating Your Certificates:
- Linux/macOS: stored in ~/.aos/security/
- Windows: stored in %USERPROFILE%.aos\security\
SDK automatically detects and uses your stored certificates.
You can use the aos-keys tool to view information about a specific certificate and the related user account.
To view certificate information:
- For OEM users, run this command:
aos-keys info --oem
- For SP users, run this command:
aos-keys info --sp