Manage project
A recording session includes all files related to a single recording session. Recording files (multiple files if recording multiple buses), configuration files, media files.
If you head over to Manage project you see a list of all the users in this project as well as some tools to manage them. This is also where you delete the project.
How-to select project
- Console
- Cli
Simply click the navigation path Manage project.
![[Image] Project page](/assets/images/navigation_project-613d60e857d0ef0c679b2b2b7f7c7343.png)
When you are working with project specific things in CLI you use --project my_project to specify project
or you can set a default project by setting environment variable REMOTIVE_CLOUD_PROJECT.
remotive cloud brokers list --project my-project
export REMOTIVE_CLOUD_PROJECT=my-project
remotive cloud brokers list
You can list your projects using this command
remotive cloud projects list --organisation my-organisation
Projects
Projects contain users, recording sessions, signal databases and brokers.
Create project
How-to create project
- Console
- Cli
Click the "add project" button.
![[Image] Add project step 1/2](/assets/images/project_add_1-44dcc22aed63874574350ae46dc28518.png)
Step 2
Fill the required input fields and press "Create project"
![[Image] Add project step 2/2](/assets/images/project_add_2-1007068d9a04021a14d788dc9a1242dc.png)
$ remotive cloud projects create --organisation my-organisation --project-uid my-new-project
Delete project
All resources including recordings, brokers etc must have been removed from the project before it can be deleted.
How-to delete project
- Console
- Cli
Click the "Delete" button.
![[Image] Delete project](/assets/images/project_delete-29b0e7b69fd9cde27618e0af19824360.png)
$ remotive cloud projects delete --project my-project-to-delete
Users
Here you add users that you want to collaborate with to your project.
Adding users is currently not supported with the CLI.
Add user to project
How-to add a user
![[Image] Add project user](/assets/images/project_user_add-3ab09e00adcfeba91f6df9b2b3f10b0d.png)
Edit user
You can change roles assigned to user
How-to edit user roles
![[Image] Edit project user](/assets/images/project_user_edit-ba3a976ff605806ba74d9107121134f5.png)
Remove user
How-to remove a user
![[Image] Delete project user](/assets/images/project_user_delete-b02409c0de36aed3730af3627a99cadd.png)
Service accounts
This is where you manage service accounts for the current project. Service accounts are non-personal accounts that can be used to access RemotiveCloud resources in e.g. CI/CD pipelines. Unlike personal access tokens, service account tokens are limited to the project the service account was created in.
Create service account
How-to create a service account
- Console
- Cli
List service accounts
$ remotive cloud service-accounts list --project my-project
[{
"creator": "John Doe",
"created": "2023-06-27T12:49:29.540+02:00",
"name": "ci-service-account",
"roles": [
"project/viewer"
]
}]
Create service account
You create a service account by defining a name and one or more roles
$ remotive cloud service-accounts create my-service-account \
--role 'project/user' --project my-project
Edit service account
How-to edit a service account
Delete service account
Deleting a service account revokes all access from that account and also removes all tokens belonging to that service account.
How-to delete a service account
- Console
- Cli
![[Image] Delete service account](/assets/images/sa_delete-3c01bac83b063a5aaa1bc551a4c970e8.png)
$ remotive cloud service-accounts delete my-service-account \
--project my-project
Create access token
To access a project's resources the service account must use a service account access token. You can create and download multiple tokens for a single service account.
How-to create a access token
- Console
- Cli
Using this command downloads an access token file to your home directory
$ remotive cloud service-accounts tokens create \
--service-account my-service-account \
--project beamyhack
Secret token written to /HOME/.config/.remotive/service-account-my-service-account-87AEC65AFA381BC9-token.json
Revoke access token
To minimize risk of a token being compromised its recommended to rotate access token sometimes and be sure to revoke tokens that are no longer needed.
![[Image] Create service account step 1/2](/assets/images/sa_create_1-8a0a93c7358b0340b752102163bc4bf5.png)
![[Image] Create service account step 2/2](/assets/images/sa_create_2-18de4e63bfb6db961dcc1326d3f21ee8.png)
![[Image] Edit service account step 1/2](/assets/images/sa_edit_1-ac89523043f4f5fd912d26708d8b055a.png)
![[Image] Edit service account step 2/2](/assets/images/sa_edit_2-01ddc1e0d95b049a08b14c70beb9f86c.png)
![[Image] Create service account access token step 1/2](/assets/images/sa_tokens_create_1-742c0eeca433819783bfaeb5aefa22b7.png)
![[Image] Create service account access token step 2/2](/assets/images/sa_tokens_create_2-10307088cef6698e1852a05e3d4de37e.png)
![[Image] Revoke service account access token step 1/2](/assets/images/sa_tokens_revoke_1-d05ee8c5254d7312c9f33d8d92521126.png)
![[Image] Create service account access token step 2/2](/assets/images/sa_tokens_revoke_2-b696c7bce3128be72d26bd3526a32d03.png)