Skip to content

Files

Latest commit

99ba884 · Feb 12, 2024

History

History
28 lines (17 loc) · 1.1 KB

external_auth.md

File metadata and controls

28 lines (17 loc) · 1.1 KB
page_title subcategory description
coder_external_auth Data Source - terraform-provider-coder
Use this data source to require users to authenticate with an external service prior to workspace creation. This can be used to pre-authenticate external services in a workspace. (e.g. gcloud, gh, docker, etc)

coder_external_auth (Data Source)

Use this data source to require users to authenticate with an external service prior to workspace creation. This can be used to pre-authenticate external services in a workspace. (e.g. gcloud, gh, docker, etc)

Schema

Required

  • id (String) The ID of a configured external auth provider set up in your Coder deployment.

Optional

  • optional (Boolean) Authenticating with the external auth provider is not required, and can be skipped by users when creating or updating workspaces

Read-Only

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