minio / kes

Key Managament Server for Object Storage and more

Home Page:https://min.io/docs/kes/concepts/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[kes + minio] Error: no admin identity specified

iamazeem opened this issue · comments

Bug describtion

Tried to set up kes for minio by following the steps listed here:

In the sample config, the root has been disabled:

root:    disabled  # We disable the root identity since we don't need it in this guide

Starting kes server generated the following error:

$ kes server --config=server-config.yml --auth=off
Error: no admin identity specified

Originated from:

kes/cmd/kes/server.go

Lines 129 to 131 in 4073c5f

if config.Admin.Identity.Value().IsUnknown() {
stdlog.Fatal("Error: no admin identity specified")
}

Had to generate and configure the root identity under admin: itdentity with:

And, then it worked fine.

Expected behavior

Expected the kes server to run without the root identity as mentioned in the MinIO Object Storage tutorial.

Please take a look at it.
Maybe, the code needs to be fixed or the documentation needs updates accordingly.

Additional context

OS: Ubuntu 20.04
kes version: 0.17.6

@iamazeem This is a bug in the MinIO Object Storage guide. I've updated the guide to contain a valid config snippet.
Thanks for reporting this.

@aead Seems like https://github.com/minio/kes/wiki/Getting-Started#2-setup-the-server is not updated as well. This references kes tool which seems to be removed. Trying to upgrade to v0.18.0 and just realised that tool is removed.

@stoffeastrom Thanks, updated getting started guide.