code: func (c *AuthConfig) String() string {
  	if !BoolVal(c.Enabled) {
  		return ""
  	}
  
  	if c.Password != nil {
  		return fmt.Sprintf("%s:%s", StringVal(c.Username), StringVal(c.Password))
  	}
  
  	return StringVal(c.Username)
  }
docs: // String is the string representation of this authentication. If authentication
  // is not enabled, this returns the empty string. The username and password will
  // be separated by a colon.