java.lang.Object
com.github.robtimus.connect.sdk.java.springboot.actuator.ApiKeyEndpoint

@Endpoint(id="connectSdkApiKey", enableByDefault=false) public class ApiKeyEndpoint extends Object
An Endpoint for managing API keys in connect-sdk-java.
Author:
Rob Spoor
Since:
3.8
  • Constructor Details

  • Method Details

    • setApiKey

      @WriteOperation public void setApiKey(String apiKeyId, String secretApiKey)
      Sets the current API key to use.
      Parameters:
      apiKeyId - The new API key id.
      secretApiKey - The new secret API key.