You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add auth property to coder_agent_script (#5)
This enables explicit definition of auth type, so the agent
doesn't misinterpret the running environment.
This also adds "username" and "name" properties to "coder_workspace"
to allow for pretty resource naming inside a cloud.
-**auth** (String) The authentication type the agent will use. Must be one of: "token", "google-instance-identity", "aws-instance-identity", "azure-instance-identity".
-**auth** (Block List, Max: 1) Authenticate an instance with zero-trust by using cloud metadata APIs. (see [below for nested schema](#nestedblock--auth))
44
43
-**env** (Map of String) A mapping of environment variables to set inside the workspace.
45
44
-**id** (String) The ID of this resource.
45
+
-**instance_id** (String) An instance ID from a provisioned instance to enable zero-trust agent authentication.
46
46
-**startup_script** (String) A script to run after the agent starts.
47
47
48
48
### Read-Only
49
49
50
50
-**token** (String) Set the environment variable "CODER_TOKEN" with this token to authenticate an agent.
51
51
52
-
<aid="nestedblock--auth"></a>
53
-
### Nested Schema for `auth`
54
-
55
-
Optional:
56
-
57
-
-**instance_id** (String) A unique ID from the created compute resource to identify with cloud metadata APIs.
58
-
-**type** (String) The authentication type to use. Must be one of: "google-instance-identity".
Description: `The authentication type the agent will use. Must be one of: "token", "google-instance-identity", "aws-instance-identity", "azure-instance-identity".`,
0 commit comments