code: func GetSecret(tx ReadTx, id string) *api.Secret {
  	n := tx.get(tableSecret, id)
  	if n == nil {
  		return nil
  	}
  	return n.(*api.Secret)
  }
docs: // GetSecret looks up a secret by ID.
  // Returns nil if the secret doesn't exist.