feat: Add boundary_auth_method data source (#505)

This commit is contained in:
Michael Li authored and GitHub committed 2023-12-12 13:36:37 -08:00
1 parent b1936800b3
commit 61c0ac92b3
5 files changed
+320 -4

No files matched your search

@@ -0,0 +1,15 @@
# 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
}