70 lines
1.6 KiB
Terraform
70 lines
1.6 KiB
Terraform
|
output "oauth_applications" {
|
||
|
description = "OAuth2/OpenID applications details"
|
||
|
value = {
|
||
|
for k, v in module.oauth_applications : k => {
|
||
|
application_id = v.application_id
|
||
|
application_uuid = v.application_uuid
|
||
|
client_id = v.client_id
|
||
|
client_secret = v.client_secret
|
||
|
slug = v.application_slug
|
||
|
}
|
||
|
}
|
||
|
sensitive = true
|
||
|
}
|
||
|
|
||
|
output "proxy_applications" {
|
||
|
description = "Proxy applications details"
|
||
|
value = {
|
||
|
for k, v in module.proxy_applications : k => {
|
||
|
application_id = v.application_id
|
||
|
application_uuid = v.application_uuid
|
||
|
external_host = v.external_host
|
||
|
internal_host = v.internal_host
|
||
|
slug = v.application_slug
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
output "outposts" {
|
||
|
description = "Outposts details"
|
||
|
value = {
|
||
|
for k, v in authentik_outpost.outposts : k => {
|
||
|
id = v.id
|
||
|
name = v.name
|
||
|
type = v.type
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
output "groups" {
|
||
|
description = "Groups details"
|
||
|
value = {
|
||
|
for k, v in authentik_group.groups : k => {
|
||
|
id = v.id
|
||
|
name = v.name
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
output "flows" {
|
||
|
description = "Custom flows details"
|
||
|
value = {
|
||
|
for k, v in authentik_flow.flows : k => {
|
||
|
id = v.id
|
||
|
slug = v.slug
|
||
|
name = v.name
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
output "certificates" {
|
||
|
description = "Certificates details"
|
||
|
value = {
|
||
|
for k, v in authentik_certificate_key_pair.certificates : k => {
|
||
|
id = v.id
|
||
|
name = v.name
|
||
|
fingerprint_sha256 = v.fingerprint_sha256
|
||
|
fingerprint_sha1 = v.fingerprint_sha1
|
||
|
}
|
||
|
}
|
||
|
}
|