Create Agent Key
Create an agent key in a DSN format: grpc(s)://<name>:<key>@<grpc-host>:<grpc-port>?mode=standard|embedded
.
This key is used to deploy agents and expose internal resources from your infra-structure
POST
Body
application/json
The request body resource
Unique name of the resource
Example:
"default"
Mode of execution of the agent
- standard - Is the default mode, which is suitable to run the agent as a standalone process
- embedded - This mode is suitable when the agent needs to be run close to another process or application
Available options:
standard
, embedded
Response
201
application/json
Created
Token is the key in a DSN format: grpc|grpcs://<name>:<key>@<hostname>:<port>?mode=standard|embedded
Example:
"grpc://default:xagt-zKQQA9PAjCVJ4O8VlE2QZScNEbfmFisg_OerkI21NEg@127.0.0.1:8010?mode=standard"