boundary_auth_method (Data Source)

The boundary_auth_method data source allows you to find a Boundary auth method.

Example Usage

# Retrieve an auth method from the global scope
data "boundary_auth_method" "auth_method" {
  name = "password_auth_method"
}

# Auth method from a org scope
data "boundary_scope" "org" {
  name     = "my-org"
  scope_id = "global"
}

data "boundary_auth_method" "auth_method" {
  name     = "password_auth_method"
  scope_id = data.boundary_scope.org.id
}

Schema

Required

Optional

Read-Only

Nested Schema for scope

Read-Only: