Fix blueprint
This commit is contained in:
@@ -75,33 +75,28 @@ entries:
|
|||||||
open_in_new_tab: false
|
open_in_new_tab: false
|
||||||
|
|
||||||
# 3. Provision the static API token linked to the user account
|
# 3. Provision the static API token linked to the user account
|
||||||
|
- model: authentik_rbac.role
|
||||||
|
state: present
|
||||||
|
identifiers:
|
||||||
|
name: homepage-viewer
|
||||||
|
attrs:
|
||||||
|
permissions:
|
||||||
|
- authentik_core.view_user
|
||||||
|
- authentik_events.view_event
|
||||||
|
|
||||||
- model: authentik_core.user
|
- model: authentik_core.user
|
||||||
state: present
|
state: present
|
||||||
identifiers:
|
identifiers:
|
||||||
username: homepage-svc
|
username: homepage-svc
|
||||||
attrs:
|
attrs:
|
||||||
name: Homepage Dashboard Service Account
|
roles:
|
||||||
|
- !Find [authentik_rbac.role, [name, "homepage-viewer"]]
|
||||||
|
name: Homepage Service Account
|
||||||
path: goauthentik.io/service-accounts
|
path: goauthentik.io/service-accounts
|
||||||
is_active: true
|
is_active: true
|
||||||
attributes:
|
attributes:
|
||||||
goauthentik.io/user/service-account: true
|
goauthentik.io/user/service-account: true
|
||||||
|
|
||||||
- model: authentik_policies.policybinding
|
|
||||||
state: present
|
|
||||||
identifiers:
|
|
||||||
user: !Find [authentik_core.user, [username, "homepage-svc"]]
|
|
||||||
permission: authentik_core.view_user
|
|
||||||
attrs:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
- model: authentik_policies.policybinding
|
|
||||||
state: present
|
|
||||||
identifiers:
|
|
||||||
user: !Find [authentik_core.user, [username, "homepage-svc"]]
|
|
||||||
permission: authentik_events.view_event
|
|
||||||
attrs:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
- model: authentik_core.token
|
- model: authentik_core.token
|
||||||
state: present
|
state: present
|
||||||
identifiers:
|
identifiers:
|
||||||
|
|||||||
Reference in New Issue
Block a user