34 lines
1.3 KiB
Text
34 lines
1.3 KiB
Text
[[_resource_server_import_config]]
|
|
= Export and import authorization configuration
|
|
|
|
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:
|
|
|
|
* Protected resources and scopes
|
|
* Policies
|
|
* Permissions
|
|
|
|
== Exporting a configuration file
|
|
|
|
.Procedure
|
|
|
|
. Navigate to the *Resource Server Settings* page.
|
|
. Click the *Export Settings* tab.
|
|
. On this page, click *Export*.
|
|
+
|
|
.Export Settings
|
|
image:{project_images}/resource-server/authz-export.png[alt="Export Settings"]
|
|
|
|
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.
|
|
|
|
== Importing a configuration file
|
|
|
|
You can import a configuration file for a resource server.
|
|
|
|
.Procedure
|
|
|
|
. Navigate to the *Resource Server Settings* page.
|
|
+
|
|
.Import Settings
|
|
image:{project_images}/resource-server/authz-settings.png[alt="Import Settings"]
|
|
|
|
. Click *Select file* and choose a file containing the configuration that you want to import.
|