Changeset View
Changeset View
Standalone View
Standalone View
docs/sys-info.rst
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | |||||||||||
This adds the minimal 'hal' collection | This adds the minimal 'hal' collection | ||||||||||
Note: swh.deposit.fixtures.deposit\_data is packaged. | Note: swh.deposit.fixtures.deposit\_data is packaged. | ||||||||||
Add client and collection | Add client and collection | ||||||||||
------------------------- | ------------------------- | ||||||||||
The deposit can now be configured to use either the 1. django basic authentication | |||||||||||
framework or the 2. swh keycloak instance. If the server uses 2., the password is | |||||||||||
vsellierUnsubmitted Done Inline Actionsvsellier: | |||||||||||
Done Inline Actions
WDYT of something like that ? vsellier: WDYT of something like that ? | |||||||||||
Done Inline Actionsgreat, thx. ardumont: great, thx. | |||||||||||
managed by keycloak so the option `--password`` is ignored. | |||||||||||
.. code:: shell | .. code:: shell | ||||||||||
swh deposit admin \ | swh deposit admin \ | ||||||||||
--config-file $SWH_CONFIG_FILENAME \ | --config-file $SWH_CONFIG_FILENAME \ | ||||||||||
--platform production \ | --platform production \ | ||||||||||
user create \ | user create \ | ||||||||||
--collection <collection-name> \ | --collection <collection-name> \ | ||||||||||
--username <client-name> \ | --username <client-name> \ | ||||||||||
--password <to-define> | --password <to-define> | ||||||||||
This adds a user ``<client-name>`` which can access the collection | This adds a user ``<client-name>`` which can access the collection | ||||||||||
``<collection-name>``. The password will be used for the authentication | ``<collection-name>``. The password will be used for checking the authentication access | ||||||||||
access to the deposit api. | to the deposit api (if 1. is used). | ||||||||||
Note: | Note: | ||||||||||
- If the collection does not exist, it is created alongside | - If the collection does not exist, it is created alongside | ||||||||||
- The password, if required, is passed as plain text but stored encrypted | - The password, if required, is passed as plain text but stored encrypted | ||||||||||
Reschedule a deposit | Reschedule a deposit | ||||||||||
--------------------- | --------------------- | ||||||||||
Show All 25 Lines |