Revision 5547485e docs/upgrade/upgrade-0.15.rst
b/docs/upgrade/upgrade-0.15.rst | ||
---|---|---|
143 | 143 |
|
144 | 144 |
pithos-host$ pithos-migrate upgrade head |
145 | 145 |
|
146 |
2.3 Update configuration files |
|
146 |
.. _pithos_view_registration: |
|
147 |
|
|
148 |
2.3 Register pithos view as an oauth 2.0 client in astakos |
|
149 |
---------------------------------------------------------- |
|
150 |
|
|
151 |
Starting from synnefo version 0.15, the pithos view, in order to get access to |
|
152 |
the data of a protect pithos resource, has to be granted authorization for the |
|
153 |
specific resource by astakos. |
|
154 |
|
|
155 |
During the authorization grant procedure, it has to authenticate itself with |
|
156 |
astakos since the later has to prevent serving requests by unknown/unauthorized |
|
157 |
clients. |
|
158 |
|
|
159 |
To register the pithos view as an OAuth 2.0 client in astakos, use the |
|
160 |
following command:: |
|
161 |
|
|
162 |
snf-manage oauth2-client-add pithos-view --secret=<secret> --is-trusted --url https://pithos.synnefo.live/pithos/ui/view |
|
163 |
|
|
164 |
2.4 Update configuration files |
|
147 | 165 |
------------------------------ |
148 | 166 |
|
149 | 167 |
The ``ASTAKOS_BASE_URL`` setting has been replaced (both in Cyclades and |
... | ... | |
240 | 258 |
setting (used to decrypt the instance hostname) in |
241 | 259 |
``20-snf-stats-settings.conf`` on your Stats host. |
242 | 260 |
|
261 |
In addition to this, we have to change the ``PITHOS_OAUTH2_CLIENT_CREDENTIALS`` |
|
262 |
setting in the ``20-snf-pithos-app-settings.conf`` file to set the credentials |
|
263 |
issued for the pithos view in `the previous step`__. |
|
264 |
|
|
265 |
__ pithos_view_registration_ |
|
266 |
|
|
243 | 267 |
3. Create floating IP pools |
244 | 268 |
=========================== |
245 | 269 |
|
Also available in: Unified diff