Skip to content

Commit

Permalink
Minor improvements in Makefile and authmate.md. (#1056)
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-khimov authored Jan 19, 2025
2 parents e35d779 + b1a84a2 commit c163d4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
REPO ?= $(shell go list -m)
VERSION ?= $(shell git describe --tags --dirty --match "v*" --always --abbrev=8 | sed 's/^v//' 2>/dev/null || cat VERSION 2>/dev/null || echo "develop")
GO_VERSION ?= 1.22
LINT_VERSION ?= 1.49.0
LINT_VERSION ?= 1.59.0
BINDIR = bin

# Binaries to build
Expand Down
7 changes: 5 additions & 2 deletions docs/authmate.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,16 @@ interactively. You can also specify an account address to use from a wallet usin
* `--gate-public-key` is a public `secp256r1` 33-byte short key of a gate (use flags repeatedly for multiple gates). The tokens are encrypted
by a set of gateway keys, so you need to pass them as well.

Note: If you are using the NeoFS AIO container for development purposes, you should add the parameter
`--container-placement-policy "REP 1"` as the AIO service has only one node.

You can issue a secret using the parameters above only. The tool will
1. create a new container
1. without a friendly name
2. with ACL `0x3c8c8cce` -- all operations are forbidden for `OTHERS` and `BEARER` user groups, except for `GET`
3. with policy `REP 2 IN X CBF 3 SELECT 2 FROM * AS X`
2. put bearer and session tokens with default rules (details in [Bearer tokens](#Bearer tokens) and
[Session tokens](#Session tokens))
2. put bearer and session tokens with default rules (details in [Bearer tokens](#bearer-tokens) and
[Session tokens](#session-tokens))

E.g.:
```shell
Expand Down

0 comments on commit c163d4f

Please sign in to comment.