code: func getOrGenerateRootKeyAndInitRepo(notaryRepo client.Repository) error {
  	rootKey, err := getOrGenerateNotaryKey(notaryRepo, data.CanonicalRootRole)
  	if err != nil {
  		return err
  	}
  	return notaryRepo.Initialize([]string{rootKey.ID()}, data.CanonicalSnapshotRole)
  }
docs: // getOrGenerateRootKeyAndInitRepo initializes the notary repository
  // with a remotely managed snapshot key. The initialization will use
  // an existing root key if one is found, else a new one will be generated.