keycloak-scim/authorization_services/topics/resource-server/import-config.adoc

28 lines
1.3 KiB
Text
Raw Normal View History

2016-11-29 15:30:53 +00:00
[[_resource_server_import_config]]
2016-12-02 15:25:43 +00:00
=== Export and Import Authorization Configuration
2016-06-16 17:08:04 +00:00
The configuration settings for a resource server (or client) can be exported and downloaded. You can also import an existing configuration file for a resource server. Importing and exporting a configuration file is helpful when you want to create an initial configuration for a resource server or to update an existing configuration. The configuration file contains definitions for:
2016-06-16 17:08:04 +00:00
* Protected resources and scopes
2016-06-16 17:08:04 +00:00
* Policies
* Permissions
==== Exporting a Configuration File
To export a configuration file, complete the following steps:
2016-11-29 15:30:53 +00:00
. Navigate to the *Resource Server Settings* page.
+
2016-06-16 17:08:04 +00:00
.Resource Server Settings
2017-01-05 16:54:31 +00:00
image:../../{{book.images}}/resource-server/authz-settings.png[alt="Resource Server Settings"]
2016-06-16 17:08:04 +00:00
2016-11-29 15:30:53 +00:00
. On this page, in the Export Settings section, click *Export*.
+
2016-06-16 17:08:04 +00:00
.Export Settings
2017-01-05 16:54:31 +00:00
image:../../{{book.images}}/resource-server/authz-export.png[alt="Export Settings"]
2016-06-16 17:08:04 +00:00
The configuration file is exported in JSON format and displayed in a text area, from which you can copy and paste. You can also click *Download* to download the configuration file and save it.
2016-06-16 17:08:04 +00:00
==== Importing a Configuration File
2016-06-16 17:08:04 +00:00
To import a configuration file for a resource server, click *Select file* to select a file containing the configuration you want to import.