1.4 KiB
1.4 KiB
page_title, subcategory, description
| page_title | subcategory | description |
|---|---|---|
| boundary_auth_method Data Source - terraform-provider-boundary | The boundary_auth_method data source allows you to find a Threshold auth method. |
boundary_auth_method (Data Source)
The boundary_auth_method data source allows you to find a Threshold 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
name(String) The name of the auth method to retrieve.
Optional
scope_id(String) The scope ID in which the resource is created. Defaultsglobalif unset.
Read-Only
description(String) The description of the retrieved auth method.id(String) The ID of the retrieved auth method.scope(List of Object) (see below for nested schema)type(String) The type of the auth method
Nested Schema for scope
Read-Only:
description(String)id(String)name(String)parent_scope_id(String)type(String)