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
Copy file name to clipboardExpand all lines: docs/data-sources/user.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,12 @@
3
3
page_title: "coder_user Data Source - terraform-provider-coder"
4
4
subcategory: ""
5
5
description: |-
6
-
Use this data source to fetch information about a user.
6
+
Use this data source to fetch information about the workspace owner.
7
7
---
8
8
9
9
# coder_user (Data Source)
10
10
11
-
Use this data source to fetch information about a user.
11
+
Use this data source to fetch information about the workspace owner.
12
12
13
13
14
14
@@ -20,8 +20,9 @@ Use this data source to fetch information about a user.
20
20
-`email` (String) The email address of the user.
21
21
-`full_name` (String) The full name of the user.
22
22
-`groups` (List of String) The groups of which the user is a member.
23
-
-`id` (String) The UUID of the user.
23
+
-`id` (String) The UUID of the workspace owner.
24
24
-`name` (String) The username of the user.
25
+
-`oidc_access_token` (String) A valid OpenID Connect access token of the workspace owner. This is only available if the workspace owner authenticated with OpenID Connect. If a valid token cannot be obtained, this value will be an empty string.
25
26
-`session_token` (String) Session token for authenticating with a Coder deployment. It is regenerated every time a workspace is started.
26
27
-`ssh_private_key` (String, Sensitive) The user's generated SSH private key.
27
28
-`ssh_public_key` (String) The user's generated SSH public key.
-`access_url` (String) The access URL of the Coder deployment provisioning this workspace.
31
31
-`id` (String) UUID of the workspace.
32
32
-`name` (String) Name of the workspace.
33
-
-`owner` (String) Username of the workspace owner.
34
-
-`owner_email` (String) Email address of the workspace owner.
35
-
-`owner_groups` (List of String) List of groups the workspace owner belongs to.
36
-
-`owner_id` (String) UUID of the workspace owner.
37
-
-`owner_name` (String) Name of the workspace owner.
38
-
-`owner_oidc_access_token` (String) A valid OpenID Connect access token of the workspace owner. This is only available if the workspace owner authenticated with OpenID Connect. If a valid token cannot be obtained, this value will be an empty string.
39
-
-`owner_session_token` (String) Session token for authenticating with a Coder deployment. It is regenerated everytime a workspace is started.
33
+
-`owner` (String, Deprecated) Username of the workspace owner.
34
+
-`owner_email` (String, Deprecated) Email address of the workspace owner.
35
+
-`owner_groups` (List of String, Deprecated) List of groups the workspace owner belongs to.
36
+
-`owner_id` (String, Deprecated) UUID of the workspace owner.
37
+
-`owner_name` (String, Deprecated) Name of the workspace owner.
38
+
-`owner_oidc_access_token` (String, Deprecated) A valid OpenID Connect access token of the workspace owner. This is only available if the workspace owner authenticated with OpenID Connect. If a valid token cannot be obtained, this value will be an empty string.
39
+
-`owner_session_token` (String, Deprecated) Session token for authenticating with a Coder deployment. It is regenerated everytime a workspace is started.
40
40
-`start_count` (Number) A computed count based on "transition" state. If "start", count will equal 1.
41
41
-`template_id` (String) ID of the workspace's template.
42
42
-`template_name` (String) Name of the workspace's template.
0 commit comments