# idp-metadata
Fetches Identity Providers (IDP) list from Renater, and enrich EC with the IDP label.
# Enriched fields
Name | Type | Description |
---|---|---|
libelle_idp | String | IDP Label |
# How to use
# ezPAARSE admin interface
You can add or remove idp-metadata by default to all your enrichments, provided you have added an API key in the config. To do this, go to the middleware section of administration.
# ezPAARSE process interface
You can use idp-metadata for an enrichment process. You just add the middleware
# ezp
You can use idp-metadata for an enrichment process with ezp (opens new window) like this:
# enrich with one file
ezp process <path of your file> \
--host <host of your ezPAARSE instance> \
--settings <settings-id> \
--header "ezPAARSE-Middlewares: idp-metadata"
--header "Output-Fields: +libelle_idp"
--out ./result.csv
# enrich with multiples files
ezp bulk <path of your directory> \
--host <host of your ezPAARSE instance> \
--settings <settings-id>
--header "ezPAARSE-Middlewares: idp-metadata"
--header "Output-Fields: +libelle_idp"
# curl
You can use idp-metadata for an enrichment process with curl like this:
curl -X POST -v http://localhost:59599 \
-H "ezPAARSE-Middlewares: idp-metadata" \
-H "Output-Fields: +libelle_idp"
-F "file=@<log file path>"