setSecret function

void setSecret(
  1. String secret
)

Registers a secret which will get masked from logs.

Implementation

void setSecret(String secret) {
  issueCommand('add-mask', {}, secret);
}