-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add doc for data keycloak_authentication_flow
- Loading branch information
David MEJIA
committed
Feb 16, 2021
1 parent
bd35c83
commit 2e7933c
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
page_title: "keycloak_authentication_flow Data Source" | ||
--- | ||
|
||
# keycloak\_authentication\_flow Data Source | ||
|
||
This data source can be used to fetch the ID of an authentication flow within Keycloak. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
resource "keycloak_realm" "realm" { | ||
realm = "my-realm" | ||
enabled = true | ||
} | ||
data "keycloak_authentication_flow" "browser_auth_cookie" { | ||
realm_id = keycloak_realm.realm.id | ||
parent_flow_alias = "browser" | ||
provider_id = "auth-cookie" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
- `realm_id` - (Required) The realm the authentication flow exists in. | ||
- `parent_flow_alias` - (Required) The alias of the flow this flow is attached to. | ||
- `provider_id` - (Required) The name of the provider. This can be found by experimenting with the GUI and looking at HTTP requests within the network tab of your browser's development tools. This was previously known as the "authenticator". | ||
|
||
## Attributes Reference | ||
|
||
- `id` - (Computed) The unique ID of the authentication flow, which can be used as an argument to other resources supported by this provider. |