@@ -4,6 +4,9 @@ metadata:
44 blueprints.goauthentik.io/instantiate : " true"
55context : {}
66entries :
7+
8+ # SAML
9+
710- attrs :
811 name : Authentik Nextcloud
912 certificate_data : |
@@ -90,7 +93,7 @@ entries:
9093 -----END RSA PRIVATE KEY-----
9194 model : authentik_crypto.certificatekeypair
9295 identifiers :
93- name : authentik-cert
96+ name : authentik-cert-local
9497- attrs :
9598 name : Nextcloud
9699 certificate_data : |
@@ -177,7 +180,7 @@ entries:
177180 -----END RSA PRIVATE KEY-----
178181 model : authentik_crypto.certificatekeypair
179182 identifiers :
180- name : nextcloud-cert
183+ name : nextcloud-cert-local
181184- attrs :
182185 acs_url : https://nextcloud.local/index.php/apps/user_saml/saml/acs
183186 assertion_valid_not_before : minutes=-5
@@ -189,7 +192,7 @@ entries:
189192 invalidation_flow : !Find [authentik_flows.flow, [slug, default-provider-invalidation-flow]]
190193 issuer : https://nextcloud.local/index.php/apps/user_saml/saml/metadata
191194 logout_method : frontchannel_iframe
192- name : nextcloud-saml
195+ name : nextcloud-saml-local
193196 name_id_mapping : !Find [authentik_providers_saml.samlpropertymapping, [managed, goauthentik.io/providers/saml/uid]]
194197 property_mappings :
195198 - !Find [authentik_providers_saml.samlpropertymapping, [managed, goauthentik.io/providers/saml/upn]]
@@ -202,97 +205,95 @@ entries:
202205 session_valid_not_on_or_after : minutes=86400
203206 sign_assertion : true
204207 signature_algorithm : http://www.w3.org/2001/04/xmldsig-more#rsa-sha256
205- signing_kp : !Find [authentik_crypto.certificatekeypair, [name, authentik-cert]]
208+ signing_kp : !Find [authentik_crypto.certificatekeypair, [name, authentik-cert-local ]]
206209 sls_binding : redirect
207210 sp_binding : post
208- verification_kp : !Find [authentik_crypto.certificatekeypair, [name, nextcloud-cert]]
211+ verification_kp : !Find [authentik_crypto.certificatekeypair, [name, nextcloud-cert-local ]]
209212 conditions : []
210213 identifiers :
211- pk : 1
214+ name : nextcloud-saml-local
212215 model : authentik_providers_saml.samlprovider
213216 permissions : []
214217 state : present
215218- attrs :
216- name : Nextcloud
219+ name : Nextcloud SAML
217220 policy_engine_mode : any
218- provider : 1
219- slug : nextcloud
221+ provider : !Find [authentik_providers_saml.samlprovider, [name, nextcloud-saml-local]]
222+ slug : nextcloud-saml-local
220223 conditions : []
221224 identifiers :
222225 name : nextcloud
223226 model : authentik_core.application
224227 permissions : []
225228 state : present
229+
230+ # LDAP
231+
226232- attrs :
227- name : User Eleven
228- email : user11@example.com
229- password : user11
230- model : authentik_core.user
231- state : present
232- identifiers :
233- username : user11
234- - attrs :
235- name : User Twelve
236- email : user12@example.com
237- password : user12
238- model : authentik_core.user
239- state : present
240- identifiers :
241- username : user12
242- - attrs :
243- name : User Thirteen
244- email : user13@example.com
245- password : user13
246- model : authentik_core.user
247- state : present
248- identifiers :
249- username : user13
250- - attrs :
251- name : User Twenty One
252- email : user21@example.com
253- password : user21
254- model : authentik_core.user
255- state : present
256- identifiers :
257- username : user21
258- - attrs :
259- name : User Twenty Two
260- email : user22@example.com
261- password : user22
262- model : authentik_core.user
263- state : present
264- identifiers :
265- username : user22
266- - attrs :
267- name : User Twenty Three
268- email : user23@example.com
269- password : user23
270- model : authentik_core.user
271- state : present
272- identifiers :
273- username : user23
274- - attrs :
275- name : User Thirty One
276- email : user31@example.com
277- password : user31
278- model : authentik_core.user
233+ authorization_flow : !Find [authentik_flows.flow, [slug, default-authentication-flow]]
234+ base_dn : DC=ldap,DC=goauthentik,DC=io
235+ bind_mode : cached
236+ gid_start_number : 4000
237+ invalidation_flow : !Find [authentik_flows.flow, [slug, default-invalidation-flow]]
238+ mfa_support : true
239+ name : Provider for Nextcloud LDAP
240+ search_mode : cached
241+ uid_start_number : 2000
242+ conditions : []
243+ model : authentik_providers_ldap.ldapprovider
244+ permissions : []
279245 state : present
280246 identifiers :
281- username : user31
247+ pk : 20
248+
282249- attrs :
283- name : User Thirty Two
284- email : user32@example.com
285- password : user32
286- model : authentik_core.user
287- state : present
250+ name : Nextcloud LDAP
251+ policy_engine_mode : any
252+ provider : 20
253+ slug : nextcloud-ldap
254+ conditions : []
288255 identifiers :
289- username : user32
290- - attrs :
291- name : User Thirty Three
292- email : user33@example.com
293- password : user33
294- model : authentik_core.user
256+ name : nextcloud-ldap
257+ model : authentik_core.application
258+ permissions : []
295259 state : present
296- identifiers :
297- username : user33
260+
261+ # - attrs:
262+ # config:
263+ # authentik_host: http://authentik.local/
264+ # authentik_host_browser: ''
265+ # authentik_host_insecure: false
266+ # container_image: null
267+ # docker_labels: null
268+ # docker_map_ports: true
269+ # docker_network: null
270+ # kubernetes_disabled_components: []
271+ # kubernetes_httproute_annotations: {}
272+ # kubernetes_httproute_parent_refs: []
273+ # kubernetes_image_pull_secrets: []
274+ # kubernetes_ingress_annotations: {}
275+ # kubernetes_ingress_class_name: null
276+ # kubernetes_ingress_path_type: null
277+ # kubernetes_ingress_secret_name: authentik-outpost-tls
278+ # kubernetes_json_patches: null
279+ # kubernetes_namespace: default
280+ # kubernetes_replicas: 1
281+ # kubernetes_service_type: ClusterIP
282+ # log_level: info
283+ # object_naming_template: ak-outpost-%(name)s
284+ # refresh_interval: minutes=5
285+ # managed: null
286+ # name: Nextcloud LDAP
287+ # providers:
288+ # - 20
289+ # service_connection: !Find [authentik_outposts.dockerserviceconnection, [name, Local Docker connection]]
290+ # type: ldap
291+ # conditions: []
292+ # model: authentik_outposts.outpost
293+ # permissions: []
294+ # state: present
295+ # identifiers:
296+ # pk: 82b825ba-dcb8-44dc-9519-2c4f4f2491c5
297+
298+
298299version : 1
0 commit comments