Конфигурация профилей Box
Общая информация
Файл конфигурации позволяет вам настраивать профили Box с использованием информации, требуемой службами Box.
Чтобы перейти к данному файлу:
1. На боковой панели нажмите на Инструменты сайта.

2. Перейдите в Конфигурация > Профили ящиков.

Образец файла конфигурации
Ниже расположен пример конфигурационного файла Box-профилей:
<?xml version="1.0" encoding="UTF-8"?>
<!--
Box profiles configuration file. This files configures 0 or more
profiles with the information required by the Box API.
For every profile you need to specify:
<profile>
<id/>
<clientId/>
<clientSecret/>
<enterpriseId/>
<publicKeyId/>
<privateKeyPath/>
<privateKeyPassword/>
<uploadFolder/>
</profile>
id: a unique id for this profile, this will be referenced in the
control defined in the content type
clientId: Box client id
clientSecret: Box client secret
enterpriseId: Box enterprise id
publicKeyId: Box public key id
privateKeyPath: Full path for the private key file
privateKeyPassword: Password used to decrypt the private key
uploadFolder: Name of the folder where files will be uploaded
-->
<box>
<box>
<profile>
<id>box-default</id>
<clientId>...</clientId>
<clientSecret>...</clientSecret>
<enterpriseId>...</enterpriseId>
<publicKeyId>...</publicKeyId>
<privateKeyPath>...</privateKeyPath>
<privateKeyPassword>...</privateKeyPassword>
<uploadFolder>videos</uploadFolder>
</profile>
</box>
</box>