-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kesconf: expose public API #414
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
few minor ones.
any specific verification needed?
This commit exposes kes server confguration API and provides a dev server. Now, the `github.com/minio/kes/kesconf` package exposes a stable API for reading the KES server configuration. This supersedes the `kv` package and removes the `edge` package. Further, the KES server provides the `--dev` flag to start a KES server in development mode with a in-memory keystore. The `--key`, `--cert` and `--auth` are deprecated. Users should use the config file to provide such config options. Signed-off-by: Andreas Auernhammer <github@aead.dev>
Signed-off-by: Andreas Auernhammer <github@aead.dev>
1dc1e23
to
74f7a76
Compare
…e used. A breaking change in config file is making Operator fail, Operator needs to handle the config across different KES config versions. minio/kes#414 Signed-off-by: pjuarezd <pjuarezd@users.noreply.github.com>
…Operator fail, Operator needs to handle the KES config variations across different KES versions.
…#1993) A breaking change (minio/kes#414) in KES command arguments is making Operator fail, Operator needs to handle the KES config variations across different KES versions.
@aead the --auth deprecation messages states:
However I have not found any documentation for how to set this flag inside the config file. Can you elaborate? It's a bit confusing right now trying to follow the official KES docs such as https://min.io/docs/kes/concepts/ as they still mention usig the --auth flag to bypass CA verification. Also note that all the various MinIO tutorials are using self signed certificates. |
This commit exposes kes server confguration API and provides a dev server.
Now, the
github.com/minio/kes/kesconf
package exposes a stable API for reading the KES server configuration. This supersedes thekv
package and removes theedge
package.Further, the KES server provides the
--dev
flag to start a KES server in development mode with a in-memory keystore. The--key
,--cert
and--auth
are deprecated. Users should use the config file to provide such config options.