On the Home page, click Identity Servers > IDP Global Settings > Metadata Repositories.
Click Plus icon and specify the following details:
Name: Specify a name for the metadata repository.
Description: Specify the description of the metadata repository.
Source: Select the source from which you want to import the metadata file.
To specify the URL location of the XML file in URL, select Metadata URL.
To specify the path of the XML file in File, select Metadata File.
Click Save.
The details of the metadata such as the number of identity providers and service providers available in the metadata and expiry date of the metadata are displayed.
You can select the metadata repository and click Delete Metadata Repository to delete the repository. If the metadata file is in use, you cannot delete it. Delete the trusted provider and then delete the metadata file.
When the metadata repositories are imported, the entities available in the metadata repository can be assigned as trusted provider to any of the Identity Servers. To create trusted providers, see Section 2.8.3, Managing Trusted Providers.