Skip to main content

Create a service account

Follow these steps to register a service account and get an API key using the MARCO Console.

Before you begin

Before you start, you must have:

  • A user with the MANAGER role at the organization level or higher permissions.
  • A project created on your organization.

Register a service account

To register a service account:

  1. Open MARCO Console.
  2. On the left sidebar, go to IAM > Service accounts > Create account.
  3. Enter the service account name.
  4. Click Register Service Account.

The service account is now registered on MARCO.

Generate an API key

To generate a new API key for a service account:

  1. Open MARCO Console.
  2. On the left sidebar, go to IAM > Service accounts > List accounts.
  3. Select the account you want to assign the new API key.
  4. Choose the Service Account API Keys tab. Service Account API Keys tab
  5. Click Generate API Key.

Now, you can use the new API key to authenticate requests.

Disable an API key

To disable an API key:

  1. Open MARCO Console.
  2. On the left sidebar, go to IAM > Service accounts > List accounts.
  3. Select the account you want to disable one of its API keys.
  4. Under the Actions column, click on the pause icon next to the API key you want to disable. Disable API Key
  5. Confirm the action in the dialog box.

Now the API key is disabled and you can't use it to authenticate requests.