Skip to content
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

KMS Admin-API: add route and handler for KMS key info #7955

Merged
merged 2 commits into from
Sep 4, 2019

Commits on Sep 4, 2019

  1. KMS Admin-API: add route and handler for KMS key info

    This commit adds an admin API route and handler for
    requesting status information about a KMS key.
    
    Therefore, the client specifies the KMS key ID (when
    empty / not set the server takes the currently configured
    default key-ID) and the server tries to perform a dummy encryption,
    re-wrap and decryption operation. If all three succeed we know that
    the server can access the KMS and has permissions to generate, re-wrap
    and decrypt data keys (policy is set correctly).
    
    Co-Authored-By: poornas <poornas@users.noreply.github.com>
    Andreas Auernhammer and poornas committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    7b9d953 View commit details
    Browse the repository at this point in the history
  2. Update pkg/madmin/examples/kms-status.go

    Co-Authored-By: poornas <poornas@users.noreply.github.com>
    Andreas Auernhammer and poornas committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    67f7561 View commit details
    Browse the repository at this point in the history