feature (worker): add CreateWorker(...) service (aka API) (#2143)

This commit is contained in:
Jim authored and GitHub committed 2022-06-07 11:50:30 -04:00
1 parent 0f7e1ee7fa
commit fdf43fc4fe
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"`