config: remove hashes from credentials.password
In the initial credentials schema, the hashes were supposed to give a way to have passwords out of plain-text config file. Later, it was decided to remove this feature, because this way of authorisation is inferior to the one with auth service and tokens, but the latter is out of scope for current config development. This patch removes `credentials.password.{sha1,sha256}` and moves plain password from `credentials.password.plain` to `credentials.password`. Part of #8967 NO_DOC=tarantool/doc#3544 links the most actual schema, no need to update the issue. NO_CHANGELOG=removed feature was not released yet
Showing
- changelogs/unreleased/gh-8967-remove-hashes-from-creds.md 4 additions, 0 deletionschangelogs/unreleased/gh-8967-remove-hashes-from-creds.md
- doc/examples/config/replicaset.yaml 2 additions, 4 deletionsdoc/examples/config/replicaset.yaml
- doc/examples/config/replicaset_election_failover.yaml 2 additions, 4 deletionsdoc/examples/config/replicaset_election_failover.yaml
- doc/examples/config/replicaset_manual_failover.yaml 2 additions, 4 deletionsdoc/examples/config/replicaset_manual_failover.yaml
- src/box/lua/config/applier/box_cfg.lua 1 addition, 1 deletionsrc/box/lua/config/applier/box_cfg.lua
- src/box/lua/config/applier/credentials.lua 4 additions, 10 deletionssrc/box/lua/config/applier/credentials.lua
- src/box/lua/config/instance_config.lua 2 additions, 17 deletionssrc/box/lua/config/instance_config.lua
- test/config-luatest/basic_test.lua 3 additions, 9 deletionstest/config-luatest/basic_test.lua
- test/config-luatest/instance_config_schema_test.lua 1 addition, 38 deletionstest/config-luatest/instance_config_schema_test.lua
Loading