2015-02-24 17:58:29 +00:00
|
|
|
[login_config]
|
2022-05-25 11:22:57 +02:00
|
|
|
global enabled=gssapi,pam
|
2015-02-24 17:58:29 +00:00
|
|
|
|
2016-11-24 16:34:50 +00:00
|
|
|
[info_config]
|
2021-03-25 18:55:47 +01:00
|
|
|
global enabled = fas
|
2022-07-05 17:36:03 +02:00
|
|
|
fas preconfigured=True
|
|
|
|
fas aws idp arn=arn:aws:iam::125523088429:saml-provider/id.fedoraproject.org
|
2024-04-17 14:49:19 -07:00
|
|
|
fas aws groups=[["aws-master", "arn:aws:iam::125523088429:role/aws-master"], ["aws-iam", "arn:aws:iam::125523088429:role/aws-iam"], ["aws-billing", "arn:aws:iam::125523088429:role/aws-billing"], ["aws-atomic", "arn:aws:iam::125523088429:role/aws-atomic"], ["aws-s3-readonly", "arn:aws:iam::125523088429:role/aws-s3-readonly"], ["aws-fedoramirror", "arn:aws:iam::125523088429:role/aws-fedoramirror"], ["aws-s3", "arn:aws:iam::125523088429:role/aws-s3"], ["aws-cloud-poc", "arn:aws:iam::125523088429:role/aws-cloud-poc"], ["aws-infra", "arn:aws:iam::125523088429:role/aws-infra"], ["aws-docs", "arn:aws:iam::125523088429:role/aws-docs"], ["aws-copr", "arn:aws:iam::125523088429:role/aws-copr"], ["aws-centos", "arn:aws:iam::125523088429:role/aws-centos"], ["aws-min", "arn:aws:iam::125523088429:role/aws-min"], ["aws-fedora-ci", "arn:aws:iam::125523088429:role/aws-fedora-ci"], ["aws-fcos-mgmt", "arn:aws:iam::125523088429:role/aws-fcos-mgmt"], ["aws-qa", "arn:aws:iam::125523088429:role/aws-qa"], ["aws-fcos-s3-readonly", "arn:aws:iam::125523088429:role/aws-fcos-s3-readonly"], ["aws-fpl", "arn:aws:iam::125523088429:role/aws-fpl"], ["aws-openscanhub", "arn:aws:iam::125523088429:role/aws-openscanhub"], ["aws-pyai", "arn:aws:iam::125523088429:role/aws-pyai"]]
|
2015-02-24 17:58:29 +00:00
|
|
|
|
2016-10-31 11:40:07 +00:00
|
|
|
[authz_config]
|
|
|
|
global enabled=allow
|
2015-02-24 17:58:29 +00:00
|
|
|
|
|
|
|
[provider_config]
|
2019-05-09 13:45:28 +02:00
|
|
|
global enabled=openid,saml2,openidc
|
2015-02-24 17:58:29 +00:00
|
|
|
|
2024-09-23 11:57:50 -07:00
|
|
|
openidc enabled extensions=fedora-account,beaker,waiverdb,wiki,src,kerneltest
|
2017-02-07 13:28:59 +00:00
|
|
|
|
2016-10-31 14:22:11 +00:00
|
|
|
{% if env == 'staging' %}
|
|
|
|
openidc subject salt={{ ipsilon_stg_openidc_subject_salt }}
|
|
|
|
{% else %}
|
|
|
|
openidc subject salt={{ ipsilon_openidc_subject_salt }}
|
|
|
|
{% endif %}
|
2016-11-24 18:37:32 +00:00
|
|
|
openidc endpoint url=https://id{{env_suffix}}.fedoraproject.org/openidc/
|
2020-10-07 14:53:45 +02:00
|
|
|
openidc idp key file=/etc/ipsilon/root/openidc.key
|
|
|
|
openidc static database url=configfile:///etc/ipsilon/root/openidc.static.cfg
|
2022-09-19 13:53:15 -07:00
|
|
|
{% if env == 'staging' %}
|
|
|
|
openidc database url=postgresql://{{ ipsilon_db_user }}:{{ ipsilon_stg_db_pass }}@{{ ipsilon_db_host }}/{{ ipsilon_db_openid_name }}
|
|
|
|
{% else %}
|
2020-10-07 14:53:45 +02:00
|
|
|
openidc database url=postgresql://{{ ipsilon_db_user }}:{{ ipsilon_db_pass }}@{{ ipsilon_db_host }}/{{ ipsilon_db_openid_name }}
|
2022-09-19 13:53:15 -07:00
|
|
|
{% endif %}
|
2016-10-31 14:22:11 +00:00
|
|
|
openidc documentation url=https://fedoraproject.org/wiki/Infrastructure/Authentication
|
|
|
|
openidc policy url=https://fedoraproject.org/wiki/Legal:PrivacyPolicy
|
|
|
|
openidc tos url=https://fedoraproject.org/wiki/Legal:PrivacyPolicy
|
|
|
|
openidc idp sig key id=20161031-sig
|
|
|
|
openidc allow dynamic client registration=False
|
2020-10-21 17:41:51 +02:00
|
|
|
openidc default attribute mapping=[["*", "*"], ["_groups", "groups"], [["_extras", "cla"], "cla"], ["fullname", "name"], ["_username", "nickname"], ["_username", "preferred_username"], ["fasIRCNick", "ircnick"], ["fasLocale", "locale"], ["fasTimeZone", "zoneinfo"], ["fasTimeZone", "timezone"], ["fasWebsiteURL", "website"], ["fasGPGKeyId", "gpg_keyid"], ["ipaSshPubKey", "ssh_key"], ["fasIsPrivate", "privacy"], ["fullname", "human_name"]]
|
2016-10-31 14:22:11 +00:00
|
|
|
|
2016-11-24 18:37:32 +00:00
|
|
|
openid endpoint url=https://id{{env_suffix}}.fedoraproject.org/openid/
|
|
|
|
openid identity url template=http://%(username)s.id{{env_suffix}}.fedoraproject.org/
|
2015-02-24 17:58:29 +00:00
|
|
|
{% if env == 'staging' %}
|
|
|
|
openid trusted roots=
|
|
|
|
{% else %}
|
2023-11-15 10:44:00 -08:00
|
|
|
openid trusted roots=https://ask.fedoraproject.org/,https://fedorahosted.org/,https://badges.fedoraproject.org,https://apps.fedoraproject.org/datagrepper/,https://apps.fedoraproject.org/calendar/,http://notifications.fedoraproject.org/,http://copr.fedoraproject.org/,https://copr.fedoraproject.org/,https://admin.fedoraproject.org/voting/,https://apps.fedoraproject.org/github2fedmsg,https://admin.fedoraproject.org,https://apps.fedoraproject.org/,https://release-monitoring.org/,http://pagure.io/,http://admin.fedoraproject.org/mirrormanager/,https://koschei.fedoraproject.org/,https://bodhi.fedoraproject.org,https://lists.fedoraproject.org/,https://openqa.fedoraproject.org/,https://src.fedoraproject.org/
|
2015-02-24 17:58:29 +00:00
|
|
|
{% endif %}
|
2022-09-19 13:53:15 -07:00
|
|
|
{% if env == 'staging' %}
|
|
|
|
openid database url=postgresql://{{ ipsilon_db_user }}:{{ ipsilon_stg_db_pass }}@{{ ipsilon_db_host }}/{{ ipsilon_db_openid_name }}
|
|
|
|
{% else %}
|
2015-07-08 08:19:34 +00:00
|
|
|
openid database url=postgresql://{{ ipsilon_db_user }}:{{ ipsilon_db_pass }}@{{ ipsilon_db_host }}/{{ ipsilon_db_openid_name }}
|
2022-09-19 13:53:15 -07:00
|
|
|
{% endif %}
|
2015-02-24 17:58:29 +00:00
|
|
|
openid untrusted roots=
|
2015-10-07 11:29:07 +00:00
|
|
|
openid enabled extensions=Fedora Teams,Attribute Exchange,CLAs,Simple Registration,API
|
2020-10-21 17:41:51 +02:00
|
|
|
openid default attribute mapping=[["*", "*"], ["_groups", "groups"], [["_extras", "cla"], "cla"], ["fullname", "name"], ["_username", "nickname"], ["_username", "preferred_username"], ["fasIRCNick", "ircnick"], ["fasLocale", "locale"], ["fasTimeZone", "zoneinfo"], ["fasTimeZone", "timezone"], ["fasWebsiteURL", "website"], ["fasGPGKeyId", "gpg_keyid"], ["ipaSshPubKey", "ssh_key"], ["fasIsPrivate", "privacy"], ["fullname", "human_name"]]
|
2015-02-24 17:58:29 +00:00
|
|
|
|
2020-12-01 10:15:48 +01:00
|
|
|
saml2 idp metadata file=metadata.xml
|
2020-10-07 14:53:45 +02:00
|
|
|
saml2 idp storage path=/etc/ipsilon/root/saml2
|
2021-03-24 13:49:24 +01:00
|
|
|
{% if env == 'staging' %}
|
2015-09-30 09:40:02 +00:00
|
|
|
saml2 idp nameid salt={{ ipsilon_stg_saml2_nameid_salt }}
|
2015-09-30 09:25:24 +00:00
|
|
|
{% else %}
|
2015-09-30 09:15:39 +00:00
|
|
|
saml2 idp nameid salt={{ ipsilon_saml2_nameid_salt }}
|
2017-06-14 23:52:48 +00:00
|
|
|
{% endif %}
|
2021-03-24 13:49:24 +01:00
|
|
|
saml2 idp certificate file=idp.crt
|
|
|
|
saml2 idp key file=idp.key
|
2015-09-30 09:15:39 +00:00
|
|
|
saml2 allow self registration=False
|
|
|
|
saml2 default nameid=transient
|
|
|
|
saml2 default email domain=fedoraproject.org
|
2022-09-19 13:53:15 -07:00
|
|
|
{% if env == 'staging' %}
|
|
|
|
saml2 session database url=postgresql://{{ ipsilon_db_user }}:{{ ipsilon_stg_db_pass }}@{{ ipsilon_db_host }}/{{ ipsilon_db_saml2_name }}
|
|
|
|
{% else %}
|
2015-09-30 09:15:39 +00:00
|
|
|
saml2 session database url=postgresql://{{ ipsilon_db_user }}:{{ ipsilon_db_pass }}@{{ ipsilon_db_host }}/{{ ipsilon_db_saml2_name }}
|
2022-09-19 13:53:15 -07:00
|
|
|
{% endif %}
|
2015-09-30 10:51:08 +00:00
|
|
|
|
|
|
|
[saml2_data]
|
|
|
|
{% if env == 'staging' %}
|
2015-09-30 10:55:03 +00:00
|
|
|
{% include "saml2_data_stg" %}
|
2015-09-30 10:51:08 +00:00
|
|
|
{% else %}
|
2015-09-30 10:55:03 +00:00
|
|
|
{% include "saml2_data" %}
|
2015-09-30 10:51:08 +00:00
|
|
|
{% endif %}
|