[IMP] silverfin: API key
Added a note to make it clearer that for fiduciaries, a single API key
is valid for all databases linked to the user.
taskid-3570700
closes odoo/documentation#6225
X-original-commit: 323d3563c9
Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com>
Signed-off-by: Tom Aarab (toaa) <toaa@odoo.com>
This commit is contained in:
parent
dcee09e597
commit
885e52530b
@ -23,12 +23,12 @@ Odoo API key
|
|||||||
------------
|
------------
|
||||||
|
|
||||||
You can create Odoo external API keys either :ref:`for a single database <silverfin/api-singledb>`
|
You can create Odoo external API keys either :ref:`for a single database <silverfin/api-singledb>`
|
||||||
(hosting: Odoo Online, On-premise, and Odoo.sh) or :ref:`for multiple databases managed by a user
|
(hosting: Odoo Online, On-premise, and Odoo.sh) or :ref:`for all databases managed by a single user
|
||||||
<silverfin/api-multipledb>` (hosting: Odoo Online).
|
<silverfin/api-multipledb>` (hosting: Odoo Online).
|
||||||
|
|
||||||
.. important::
|
.. important::
|
||||||
- These API keys are personal and provide full access to your user account. Store it securely.
|
- These API keys are personal and provide full access to your user account. Store it securely.
|
||||||
- You can copy the API key only at its creation, and you cannot retrieve it later.
|
- You can copy the API key only at its creation. It is not possible to retrieve it later.
|
||||||
- If you need it again, create a new API key (and delete the old one).
|
- If you need it again, create a new API key (and delete the old one).
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
@ -36,15 +36,15 @@ You can create Odoo external API keys either :ref:`for a single database <silver
|
|||||||
|
|
||||||
.. _silverfin/api-singledb:
|
.. _silverfin/api-singledb:
|
||||||
|
|
||||||
One key per database
|
Per database
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~
|
||||||
|
|
||||||
To create a new API key valid for a single database, click on the user menu, then on
|
To add an API key to a **single** database, connect to the database, enable the :ref:`developer
|
||||||
:guilabel:`My Profile`. Under the :guilabel:`Account Security` tab, click on :guilabel:`New API
|
mode <developer-mode>`, click on the user menu, and then :guilabel:`My Profile` /
|
||||||
key`, confirm your password, give a descriptive name to your new key, and copy the new API key.
|
:guilabel:`Preferences`. Under the :guilabel:`Account Security` tab, click on :guilabel:`New API
|
||||||
|
Key`, confirm your password, give a descriptive name to your new key, and copy the API key.
|
||||||
|
|
||||||
.. image:: silverfin/api-key-db.png
|
.. image:: silverfin/api-key-db.png
|
||||||
:align: center
|
|
||||||
:alt: creation of an Odoo external API key for a database
|
:alt: creation of an Odoo external API key for a database
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
@ -52,15 +52,18 @@ key`, confirm your password, give a descriptive name to your new key, and copy t
|
|||||||
|
|
||||||
.. _silverfin/api-multipledb:
|
.. _silverfin/api-multipledb:
|
||||||
|
|
||||||
One key for multiple databases (fiduciaries)
|
For all databases (fiduciaries)
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
To create a new API key valid for all the databases of a single user **(the easiest for
|
To add an API key to **all** databases managed by a single user at the same time **(the easiest
|
||||||
fiduciaries)**, navigate to `Odoo's website <https://www.odoo.com>`_ and sign in with your
|
method for fiduciaries)**, navigate to `Odoo's website <https://www.odoo.com>`_ and sign in with
|
||||||
administrator account. Next, open `your account security settings in developer mode
|
your administrator account. Next, open `your account security settings in developer mode
|
||||||
<https://www.odoo.com/my/security?debug=1>`_, click on :guilabel:`New API Key`, confirm your
|
<https://www.odoo.com/my/security?debug=1>`_, click on :guilabel:`New API Key`, confirm your
|
||||||
password, give a descriptive name to your new key, and copy the new API key.
|
password, give a descriptive name to your new key, and copy the new API key.
|
||||||
|
|
||||||
|
.. tip::
|
||||||
|
Open the `database manager <https://www.odoo.com/my/databases>`_ to view all databases that will
|
||||||
|
be linked to the single API key.
|
||||||
|
|
||||||
.. image:: silverfin/api-key-user.png
|
.. image:: silverfin/api-key-user.png
|
||||||
:align: center
|
|
||||||
:alt: creation of an Odoo external API key for an Odoo user
|
:alt: creation of an Odoo external API key for an Odoo user
|
||||||
|
Loading…
Reference in New Issue
Block a user