Skip to main content

API Keys

The LifeOmic Platform allows users to create and manage API Keys that can be used by applications to access the LifeOmic API. Instead of having to do the normal authentication process of entering in user credentials, an API Key can be supplied instead that acts on behalf of the user and provides the same level of access within the account.

Access Control

This procedure requires the Manage API Keys permission. This permission is not contained in the default Administrator privileges. To add this permission, see Create a Custom Policy for Access Control.

Set up API Keys

  1. Go to https://apps.us.lifeomic.com to sign in and complete the steps to access your account.

  2. From any page, click the logo at the top of the page.

  3. From the home page, click the Account Info tile.

    Account

  4. Click the API Keys tab.

  5. Click Add.

  6. Enter a name in the Name field.

  7. Enter a number in the Days before expiration field. (The minimum number of days is 1 and the maximum is 365.)

  8. Click Add.

    API Keys Add

  9. After the key is created, a New API Key dialog shows the key value. Copy and store the API key value in a secure location, such as a password manager. Note: This is the only time you can copy the key value. API Key Value

  10. From the API Keys screen, you can see the list of current API keys. Every API Key has an expiration date. Once a key has expired it can no longer be used. This is in place to encourage users to rotate their keys on a regular schedule.

    API Keys Confirm

Troubleshoot

If the API key did not appear on your API Keys screen, refresh your browser window. If it still does not appear, check that you have the access control permission Manage API Keys.

Best Practice

A best practice is to rotate API keys on a regular basis. To ensure this, all API keys have a required expiration with a maximum length of 365 days. Determine the rotation interval that works best for your use case. Because API keys tend to spread into code repositories or unnecessary locations during active development (for instance, docker containers), optimizing the continuous delivery pipeline to handle API key rotation will ensure this process is streamlined.

tip

You can also delete a key from the API Keys screen. Deleting a key makes it invalid immediately. Only delete a compromised key or a key you no longer wish to use.