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 https://coder.com/docs/admin/external-auth in a workspace. (e.g. Google Cloud, Github, Docker, etc.) |
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. Google Cloud, Github, Docker, etc.)
provider "coder" {}
data "coder_external_auth" "github" {
id = "github"
}
data "coder_external_auth" "azure-identity" {
id = "azure-identiy"
optional = true
}
id
(String) The ID of a configured external auth provider set up in your Coder deployment.
optional
(Boolean) Authenticating with the external auth provider is not required, and can be skipped by users when creating or updating workspaces
access_token
(String) The access token returned by the external auth provider. This can be used to pre-authenticate command-line tools.