Add example of external ID key in external ID documentation
Change-Id: Iba402acccf2ef7e6455f7ddffcf41561bb2d7782
This commit is contained in:
@@ -292,9 +292,10 @@ account or an OAUTH identity, to an account in Gerrit.
|
||||
External IDs are stored as Git Notes in the `All-Users` repository. The
|
||||
name of the notes branch is `refs/meta/external-ids`.
|
||||
|
||||
As note key the SHA1 of the external ID key is used. This ensures that
|
||||
an external ID is used only once (e.g. an external ID can never be
|
||||
assigned to multiple accounts at a point in time).
|
||||
As note key the SHA1 of the external ID key is used, for example the key
|
||||
for the external ID `username:jdoe` is `e0b751ae90ef039f320e097d7d212f490e933706`.
|
||||
This ensures that an external ID is used only once (e.g. an external ID can
|
||||
never be assigned to multiple accounts at a point in time).
|
||||
|
||||
[IMPORTANT]
|
||||
If the external ID key is changed manually you must adapt the note key
|
||||
|
||||
Reference in New Issue
Block a user