Skip to content

Commit 9066074

Browse files
Update documentation for sensitive token attributes
Regenerate documentation to reflect that oidc_access_token, session_token, and access_token are now marked as sensitive in the schema. Co-authored-by: matifali <[email protected]>
1 parent 367ebca commit 9066074

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-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
@@ -52,9 +52,9 @@ resource "coder_env" "git_author_email" {
5252
- `id` (String) The UUID of the workspace owner.
5353
- `login_type` (String) The type of login the user has.
5454
- `name` (String) The username of the user.
55-
- `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+
- `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.
5656
- `rbac_roles` (List of Object) The RBAC roles of which the user is assigned. (see [below for nested schema](#nestedatt--rbac_roles))
57-
- `session_token` (String) Session token for authenticating with a Coder deployment. It is regenerated every time a workspace is started.
57+
- `session_token` (String, Sensitive) Session token for authenticating with a Coder deployment. It is regenerated every time a workspace is started.
5858
- `ssh_private_key` (String, Sensitive) The user's generated SSH private key.
5959
- `ssh_public_key` (String) The user's generated SSH public key.
6060

0 commit comments

Comments
 (0)