Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb8bf055

Browse files
committed
agent token
external-auth access_token
1 parent1d525fa commitb8bf055

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

‎docs/data-sources/external_auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ data "coder_external_auth" "azure-identity" {
3939

4040
###Read-Only
4141

42-
-`access_token` (String) The access token returned by the external auth provider. This can be used to pre-authenticate command-line tools.
42+
-`access_token` (String, Sensitive) The access token returned by the external auth provider. This can be used to pre-authenticate command-line tools.

‎docs/data-sources/workspace_owner.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ resource "coder_env" "git_author_email" {
5151
-`groups` (List of String) The groups of which the user is a member.
5252
-`id` (String) The UUID of the workspace owner.
5353
-`name` (String) The username of the user.
54-
-`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.
55-
-`session_token` (String) Session token for authenticating with a Coder deployment. It is regenerated every time a workspace is started.
54+
-`oidc_access_token` (String, Sensitive) 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.
55+
-`session_token` (String, Sensitive) Session token for authenticating with a Coder deployment. It is regenerated every time a workspace is started.
5656
-`ssh_private_key` (String, Sensitive) The user's generated SSH private key.
5757
-`ssh_public_key` (String) The user's generated SSH public key.

‎provider/externalauth.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ func externalAuthDataSource() *schema.Resource {
3737
Type:schema.TypeString,
3838
Description:"The access token returned by the external auth provider. This can be used to pre-authenticate command-line tools.",
3939
Computed:true,
40+
Sensitive:true,
4041
},
4142
"optional": {
4243
Type:schema.TypeBool,

‎provider/workspace_owner.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,15 @@ func workspaceOwnerDataSource() *schema.Resource {
9999
Type:schema.TypeString,
100100
Computed:true,
101101
Description:"Session token for authenticating with a Coder deployment. It is regenerated every time a workspace is started.",
102+
Sensitive:true,
102103
},
103104
"oidc_access_token": {
104105
Type:schema.TypeString,
105106
Computed:true,
106107
Description:"A valid OpenID Connect access token of the workspace owner. "+
107108
"This is only available if the workspace owner authenticated with OpenID Connect. "+
108109
"If a valid token cannot be obtained, this value will be an empty string.",
110+
Sensitive:true,
109111
},
110112
},
111113
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp