We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aa18de commit 9495904Copy full SHA for 9495904
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/Authentication.java
@@ -808,7 +808,10 @@ public void toXContentFragment(XContentBuilder builder) throws IOException {
808
if (managedBy != null) {
809
apiKeyField.put("managed_by", managedBy);
810
} else {
811
- apiKeyField.put("managed_by", isCloudApiKey() ? ManagedBy.CLOUD.getDisplayName() : ManagedBy.ELASTICSEARCH.getDisplayName());
+ apiKeyField.put(
812
+ "managed_by",
813
+ isCloudApiKey() ? ManagedBy.CLOUD.getDisplayName() : ManagedBy.ELASTICSEARCH.getDisplayName()
814
+ );
815
}
816
builder.field("api_key", Collections.unmodifiableMap(apiKeyField));
817
0 commit comments