From e2f4872180d0c20fdb6eff332571240bee8d023d Mon Sep 17 00:00:00 2001 From: Angira Kekteeva Date: Thu, 19 Aug 2021 12:55:01 +0300 Subject: [PATCH] [#210] docs: Update authmate doc Signed-off-by: Angira Kekteeva --- docs/authmate.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/authmate.md b/docs/authmate.md index 5f1c3d66..da45a4db 100644 --- a/docs/authmate.md +++ b/docs/authmate.md @@ -85,10 +85,16 @@ NhLQpDnerpviUWDF77j5qyjFgavCmasJ4p (simple signature contract): ## Issuance of a secret To issue a secret means to create a Bearer and (optionally) Session tokens and -put them as an object into container on the NeoFS network. The tokens are -encrypted by a set of gateway keys, so you need to pass them as well. +put them as an object into a container on the NeoFS network. -If a parameter `container-id` is not set, a new container will be created. +By default, the tool creates the container with a name `auth-container` and ACL +0x3c8c8cce (all operations are forbidden for `OTHERS` and `BEARER` user groups, +except for `GET`). + +Also, you can put the tokens into existing container via `--container-id` +parameter, but this way is **not recommended**. + +The tokens are encrypted by a set of gateway keys, so you need to pass them as well. Creation of the bearer token is mandatory, and creation of the session token is optional. If you want to add the session token you need to add a parameter