--- title: "Configuring API keys" slug: "configuring-api-keys" tags: ["Reference", "Email Security - Cloud", "Customer", "Cloud Security"] updated: 2026-09-30T18:28:21Z published: 2026-09-30T18:28:21Z canonical: "docs.trellix.com/configuring-api-keys" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring API keys If the IAM domain you use to access the Trellix UI ends in `fireeye.com`, follow these steps to configure API keys: 1. Log in to the Email Security — Cloud Web Portal or IAM console. 2. Click on **My Settings** in the top navigation bar. ![My_Settings.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-10a67861-5cb3-cb87-9166-b8d50d75b770.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A48%3A25Z&se=2026-11-22T14%3A48%3A25Z&sr=c&sp=r&sig=Tm1NjxvlzMJGPXCr80g2HizT5ohHqD3zKsclzo0z4fQ%3D) 3. Click the **API Keys** tab in the IAM console. 4. Click **Create API Key.** ![create_api_key.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-ae4d37f4-53ce-4b8f-3c56-675e5b019e3a.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A48%3A25Z&se=2026-11-22T14%3A48%3A25Z&sr=c&sp=r&sig=Tm1NjxvlzMJGPXCr80g2HizT5ohHqD3zKsclzo0z4fQ%3D) 5. On the **Manage API Key page,** specify the following: - API key name. - Expiration time for the API key. The expiration time of API keys should be set as “100d” for 100 days, or “1y” for 1 year, for example. - Products. Select both “Email Threat Prevention” and “Identity Access Management”. ![assign_product_api_key.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-77a00b67-8792-49f1-f1a2-d8426f86437a.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A48%3A25Z&se=2026-11-22T14%3A48%3A25Z&sr=c&sp=r&sig=Tm1NjxvlzMJGPXCr80g2HizT5ohHqD3zKsclzo0z4fQ%3D) 6. Select all entitlements as shown below. ![select_entitlements_api.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-7d53dcfd-c68e-02e2-9a07-dc52d2bab632.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A48%3A25Z&se=2026-11-22T14%3A48%3A25Z&sr=c&sp=r&sig=Tm1NjxvlzMJGPXCr80g2HizT5ohHqD3zKsclzo0z4fQ%3D) For any API access, the following entitlements are required: - iam.users.browse - iam.orgs.self.read For accessing alerts APIs, the following additional entitlements are required: - etp.alerts.read For accessing trace APIs, the following additional entitlements are required: - etp.email_trace.read For accessing quarantine APIs, the following additional entitlements are required: - etp.quarantine.update - etp.quarantine.read - etp.quarantine.delete 7. To download or copy an API key, click the download or copy icon in the bottom right corner. ![copy_api_key.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-e6041e25-bc90-e780-7dcd-b1d6ce27b994.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A48%3A25Z&se=2026-11-22T14%3A48%3A25Z&sr=c&sp=r&sig=Tm1NjxvlzMJGPXCr80g2HizT5ohHqD3zKsclzo0z4fQ%3D) 8. Click **Create API Key**.