Client Side Access to VMs
How to access Freestyle VMs securely from your client side applications.
Freestyle VMs can be accessed securely from client side applications using Freestyle Identity Access Tokens.
To do this, you'll need to do the following:
-
You need to create a Freestyle Identity + VM.
-
Grant the Freestyle Identity access to the VM. By default granting access will grant access to all users, however you can also restrict access to specific linux users on the VM.
-
Use the Freestyle Identity Access Token to authenticate API requests to the VM.
When making API requests to the VM, you can use the X-Freestyle-Identity-Access-Token: {access-token} header instead of authenticating the API with Authentication: Bearer {access-token}.
Limitations
Access Tokens can only be used to access existing VMs. They cannot create, delete or manage the VMs themselves.