...
InCommon Example: Configure an IdP to Release a Fixed Subset of R&S Attributes
InCommon recommends the is following approach to configure Shibboleth IdP v2.3.4 (or later) to release a fixed subset of the R&S Attribute Bundle to all R&S SPs, including R&S SPs in other federations, as follows:
...
InCommon Example: Configure an IdP to Release a Dynamic Subset of R&S Attributes
InCommon recommends this the following approach to configure Shibboleth IdP v2.4.3 (or later) to release a dynamic subset of the R&S Attribute Bundle by filtering the actual release of attributes based on <md:RequestedAttribute>
elements in SP metadata:
...