groton-school / blackbaud-to-google-group-sync

Sync entries in Blackbaud LMS Advanced Lists (potentially of community groups) to Google Groups
GNU General Public License v3.0
0 stars 0 forks source link

max 10 keys available #34

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

Need to delete one to create one

https://api.github.com/groton-school/blackbaud-to-google-group-sync/blob/005060d2298556b60ef3ba9a414efd20f53aa3e2/scripts/setup.js#L227

  /*
   * FIXME max 10 keys available
   *  Need to delete one to create one
   */
  const credentialsPath = `.cache/${serviceAccount.uniqueId}.json`;
  gcloud.invoke(
    `iam service-accounts keys create ${credentialsPath} --iam-account=${serviceAccount.email}`
  );
  if (!delegated) {
    const url =
      'https://github.com/groton-school/blackbaud-to-google-group-sync/blob/main/docs/google-workspace-admin.md';
    open(url);
    await confirm({
      message: `The Service Account Unique ID is ${lib.value(
        serviceAccount.uniqueId
      )}
Confirm that ${lib.value(
        delegatedAdmin
      )} has followed the directions at ${lib.url(url)}`
    });
  }
github-actions[bot] commented 1 year ago

Closed in 716d0208cda080fdac90327f0714f0254903ed99