Terraform module to manage the following Twingate resources:
- authentik_token
Copy and paste the following code snippet to your Terraform configuration,
specify the required variables and run the command terraform init.
module "authentik_group" {
source = "gitlab.com/terraform-child-modules-48151/terraform-authentik-group/local"
version = "1.0.0"
name = "example-group"
}
module "authentik_user" {
source = "gitlab.com/terraform-child-modules-48151/terraform-authentik-user/local"
version = "1.0.0"
username = "jdoe"
name = "John Doe"
groups = [
module.authentik_group.id
]
}
module "authentik_token" {
source = "gitlab.com/terraform-child-modules-48151/terraform-authentik-token/local"
version = "1.0.0"
identifier = "example-token"
user = module.authentik_user.id
}| Name | Version |
|---|---|
| terraform | >= 1.0 |
| authentik | ~> 2026.0 |
| Name | Version |
|---|---|
| authentik | ~> 2026.0 |
No modules.
| Name | Type |
|---|---|
| authentik_token.this | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| description | Description of the token | string |
null |
no |
| expires | The date and time the token will expire | string |
null |
no |
| expiring | Whether or not the token will expire | bool |
true |
no |
| identifier | Name of the token | string |
n/a | yes |
| intent | The intent the token is used for | string |
"api" |
no |
| retrieve_key | Whether or not the key will be received | bool |
false |
no |
| user | User to apply to this token | number |
n/a | yes |
| Name | Description |
|---|---|
| expires_in | The time the token will expire |
| id | The ID of this resource |
| key | The key of the token |
Created and maintained by Dennis Hoppe.
Apache 2 licensed. See LICENSE for full details.