Skip to content

Commit

Permalink
Make elastic aws secret key secure sensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
chhsiao90 authored and martint committed Jun 23, 2020
1 parent b2c8219 commit 7a34189
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -14,6 +14,7 @@
package io.prestosql.elasticsearch;

import io.airlift.configuration.Config;
import io.airlift.configuration.ConfigSecuritySensitive;
import io.airlift.configuration.DefunctConfig;

import javax.validation.constraints.NotNull;
Expand Down Expand Up @@ -47,6 +48,7 @@ public Optional<String> getSecretKey()
}

@Config("elasticsearch.aws.secret-key")
@ConfigSecuritySensitive
public AwsSecurityConfig setSecretKey(String key)
{
this.secretKey = key;
Expand Down

0 comments on commit 7a34189

Please sign in to comment.