Skip to content

Commit

Permalink
Redact bigquery.credentials-key config
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo authored and losipiuk committed Sep 1, 2020
1 parent 8783daa commit eb59569
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import com.google.auth.oauth2.GoogleCredentials;
import io.airlift.configuration.Config;
import io.airlift.configuration.ConfigDescription;
import io.airlift.configuration.ConfigSecuritySensitive;
import io.airlift.configuration.validation.FileExists;

import javax.validation.constraints.AssertTrue;
Expand Down Expand Up @@ -66,6 +67,7 @@ public Optional<String> getCredentialsKey()

@Config("bigquery.credentials-key")
@ConfigDescription("The base64 encoded credentials key")
@ConfigSecuritySensitive
public BigQueryConfig setCredentialsKey(String credentialsKey)
{
this.credentialsKey = Optional.of(credentialsKey);
Expand Down

0 comments on commit eb59569

Please sign in to comment.