Skip to content

Commit

Permalink
sp_dashboard user for invite API
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Sep 4, 2024
1 parent 041cd41 commit 2d83985
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 16 deletions.
17 changes: 9 additions & 8 deletions environments/template/secrets/skeleton.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ engine_api_metadata_push_password: secret
oidcng_api_metadata_push_password: secret
oidcng_api_tokens_profile_password: secret
oidcng_api_tokens_eduid_password: secret
myconext_api_attribute_manipulation_password: "{noop}secret"
myconext_api_attribute_manipulation_password: "secret"
myconext_oidcng_rs_client_secret: secret
myconext_api_attribute_aggregation_password: "{noop}secret"
myconext_api_studielink_password: "{noop}secret"
myconext_api_attribute_aggregation_password: "secret"
myconext_api_studielink_password: "secret"
myconext_client_secret: secret
myconext_rs_client_secret: secret
myconext_geo2lite_license_key: secret
Expand Down Expand Up @@ -136,12 +136,13 @@ myconext_private_key: |
invite_oidc_secret: secretsecret
invite_rs_secret: secretsecret
invite_voot_secret: "{noop}secret"
invite_teams_secret: "{noop}secret"
invite_attribute_aggregation_secret: "{noop}secret"
invite_voot_secret: "secret"
invite_teams_secret: "secret"
invite_attribute_aggregation_secret: "secret"
invite_manage_secret: secret
invite_lifecycle_secret: "{noop}secret"
invite_profile_secret: "{noop}secret"
invite_lifecycle_secret: "secret"
invite_profile_secret: "secret"
invite_sp_dashboard_secret: "secret"
invite_private_key_pkcs8: |
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCfpYYMgKYDICkp
Expand Down
17 changes: 9 additions & 8 deletions environments/vm/secrets/vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ engine_api_metadata_push_password: secret
oidcng_api_metadata_push_password: secret
oidcng_api_tokens_profile_password: secret
oidcng_api_tokens_eduid_password: secret
myconext_api_attribute_manipulation_password: "{noop}secret"
myconext_api_attribute_manipulation_password: "secret"
myconext_oidcng_rs_client_secret: secret
myconext_api_attribute_aggregation_password: "{noop}secret"
myconext_api_studielink_password: "{noop}secret"
myconext_api_attribute_aggregation_password: "secret"
myconext_api_studielink_password: "secret"
myconext_client_secret: secret
myconext_rs_client_secret: secret
myconext_geo2lite_license_key: secret
Expand Down Expand Up @@ -282,12 +282,13 @@ myconext_private_key: |
invite_oidc_secret: secretsecret
invite_rs_secret: secretsecret
invite_voot_secret: "{noop}secret"
invite_teams_secret: "{noop}secret"
invite_attribute_aggregation_secret: "{noop}secret"
invite_voot_secret: "secret"
invite_teams_secret: "secret"
invite_attribute_aggregation_secret: "secret"
invite_manage_secret: secret
invite_lifecycle_secret: "{noop}secret"
invite_profile_secret: "{noop}secret"
invite_lifecycle_secret: "secret"
invite_profile_secret: "secret"
invite_sp_dashboard_secret: "secret"
invite_private_key_pkcs8: |
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCfpYYMgKYDICkp
Expand Down
5 changes: 5 additions & 0 deletions roles/invite/templates/serverapplication.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ external-api-configuration:
password: "{{ invite.profile_secret }}"
scopes:
- profile
-
username: {{ invite.sp_dashboard_user }}
password: "{{ invite.sp_dashboard_secret }}"
scopes:
- sp_dashboard

voot:
group_urn_domain: "{{ invite.group_urn_domain }}"
Expand Down

0 comments on commit 2d83985

Please sign in to comment.