// TODO: Remove once we've migrated all the projects
log.warn("Creating project key for project: {}", projectId);
Migrations.report(project);
AesKey cryptoKey = KeyczarUtils.generateSymmetricKey();
long userId = user.getUserId();
SecretToken secretToken = new SecretToken(SecretTokenType.PROJECT_SECRET, cryptoKey, null);
AuthenticatedProject authenticatedProject = new AuthenticatedProject(project, secretToken);