public String getValue() {
        return isMasked() ? SECRET_VALUE_STRING : value;
    }
Gets value of the scalar for export.
@return Value of the scalar if not {@link #isMasked()},
        {@link #SECRET_VALUE_STRING} otherwise.
        Encrypted sensitive data will be returned as is.
plugin/src/main/java/io/jenkins/plugins/casc/model/Scalar.java