feature (worker): add CreateWorker(...) service (aka API) (#2143)
This commit is contained in:
14 files changed
+773
-233
No files matched your search
@@ -90,7 +90,11 @@ message Worker {
|
||||
// itself.
|
||||
WorkerConfig worker_config = 140 [json_name = "worker_config"];
|
||||
|
||||
// TODO: Add worker auth related fields.
|
||||
// worker_auth_token is input only. Supports the worker led node
|
||||
// enrollment flow where this credentials token is produced by a worker. This
|
||||
// token is a base58 encoded types.FetchNodeCredentialsRequest from
|
||||
// https://github.com/hashicorp/nodeenrollment
|
||||
google.protobuf.StringValue worker_auth_token = 150 [json_name = "worker_auth_token"]; // @gotags: `class:"public"`
|
||||
|
||||
// Output only. The available actions on this resource for the requester.
|
||||
repeated string authorized_actions = 300 [json_name = "authorized_actions"]; // @gotags: `class:"public"`
|
||||
|
||||
Reference in new issue
Block a user