How to Configure Enterprise Policies in Apidog

A practical guide to configuring and testing the four organization-wide Enterprise Policies in Apidog.

Oliver Kingsley

Oliver Kingsley

31 August 2026

How to Configure Enterprise Policies in Apidog

Apidog for Enterprise

On-Premises Deploy

SSO & RBAC

SOC 2 Compliant

Explore Apidog Enterprise

Enterprise Policies apply organization-wide rules to credential handling, member admission, SSO session access, and invitation rewards. Organization Owners and Admins can configure these policies from the organization's security settings.

This tutorial explains the scope of each policy, how to configure it, and what to test before wider rollout.

Before you start

These are workspace policies. They do not replace runtime controls in an API gateway, authorization server, service mesh, or application.

Step 1: Open Enterprise Policies

  1. Open the Apidog organization.
  2. Go to Organization Settings.
  3. In Security, select Enterprise Policies.
Enterprise Policies page in Apidog organization settings

Only Organization Owners and Admins can change Enterprise Policies.

The page currently includes four policies:

Step 2: Configure Auth Credential Policy

Auth Credential Policy checks supported sensitive authentication fields when users edit or save API authentication, folder authentication, request authentication, security schemes, API test cases, and test scenarios.

Choose the raw-value mode

Configure Forbid raw values in Auth sensitive fields:

Mode Result
Off The rule is not enforced
Warn The user sees a warning but can still save
Block The user cannot save the noncompliant value

Choose the reference mode

Configure Allow only local variables or Vault Secret in Auth with the same Off, Warn, or Block modes.

When this control is enabled, sensitive fields should use local-only variables or Vault Secret references. A variable with a shared initial value may warn or block according to the selected mode.

Apidog treats the following as allowed references for the credential policy:

Control Vault value display

Enable Vault Secret cannot be revealed in plaintext when users should not be able to display Vault Secret values in the UI.

Test before blocking

For a controlled rollout:

  1. use Warn in a pilot project;
  2. test API Key, Bearer Token, Basic Auth, OAuth 2.0, and any other authentication types used by the organization;
  3. replace raw values with the approved variable or Vault pattern;
  4. confirm that legitimate workflows still save and run;
  5. move to Block when the exceptions have been addressed.

The policy covers documented sensitive fields across API Key, Bearer Token, Basic and Digest Auth, OAuth 1.0 and 2.0, Hawk, AWS, NTLM, Akamai EdgeGrid, JWT Bearer, and combination authentication.

Step 3: Configure SSO Session Policy

SSO Session Policy controls whether users can access My Teams while signed in through the current organization's SSO.

  1. Confirm that SSO is configured for the organization.
  2. On Enterprise Policies, find SSO Session Policy.
  3. Enable Restrict My Teams in SSO sessions.
  4. Save the policy.
SSO Session Policy restricting My Teams during an organization SSO session

When enabled, My Teams is unavailable during that organization's SSO session.

The setting is disabled by default and can be enabled only after SSO is configured. A restricted user must sign out and use a regular sign-in method to access My Teams. Returning to the SSO organization requires signing in through SSO again.

This policy is not an idle timeout or a maximum session-duration setting. It isolates My Teams access within the current organization's SSO session.

Test the session boundary

Use a non-admin test user:

  1. sign in through the organization's SSO entry point;
  2. confirm that the organization is available;
  3. attempt to open My Teams and confirm the restriction message;
  4. select Sign out and switch;
  5. sign in with a regular method and confirm that My Teams is available;
  6. confirm that returning to the SSO organization requires SSO.

Step 4: Configure Member Email Policy

Member Email Policy limits organization membership to approved email domains. Apidog checks the user's final authenticated email, not only the address to which an invitation was sent.

  1. Configure one or more allowed email domains for the organization.
  2. Open Security > Enterprise Policies.
  3. Find Member Email Policy.
  4. Enable the policy and save it.
Member Email Policy configured with approved domains

Configure the domains whose authenticated users may become organization members.

The same admission rule applies to:

If the final authenticated email does not match an allowed domain, Apidog rejects the join attempt. No Organization, Team, or Project membership is created, the user does not occupy a seat, and the user does not appear in the member list or member export.

Domain mismatch message shown when a user is rejected by Member Email Policy

A rejected user receives a domain-mismatch message, and the rejection is recorded in Audit Logs.

Test at least one approved address and one disallowed address for each admission route the organization uses.

Step 5: Configure Invitation Reward Policy

Invitation Reward Policy controls whether eligible organization-related invitations can generate invitation reward Credits.

  1. Open Security > Enterprise Policies.
  2. Find Invitation Reward Policy.
  3. Enable or disable invitation rewards.
  4. Save the setting.

Disabling the policy stops future eligible organization-related invitations from generating reward Credits. It does not remove Credits already earned.

This is an administrative setting, not an access-control or security policy. It should not be described as an invitation-email suppression feature.

Verify all four policies

Use a small test matrix and record the result.

Policy Positive test Negative test
Auth Credential Save an approved local variable or Vault reference Try to save a fictional raw value in Warn or Block mode
SSO Session Access the SSO organization through SSO Attempt to open My Teams in the restricted SSO session
Member Email Join with an approved authenticated domain Attempt to join with a disallowed authenticated domain
Invitation Reward Confirm the selected reward state Confirm existing earned Credits are unchanged when disabled

After testing, review Audit Logs for the supported policy-related membership or rejection events that are relevant to the workflow.

Troubleshooting

Problem What to check
A user can save a raw credential Confirm the correct credential control is enabled and set to Block, and that the value is in a supported authentication field.
An approved variable is blocked Check whether the stricter rule requires a local-only variable or Vault Secret rather than a shared initial value.
The SSO session switch is unavailable Confirm SSO is configured for the organization.
A valid employee is rejected Check the final authenticated email and the allowed-domain list, including aliases and subsidiary domains.
An existing Credit disappears Disabling invitation rewards should not remove Credits already earned; record the account and ask support to investigate.

Important limitations

Related API governance tutorials:

These tutorials cover complementary controls for governing an enterprise API workspace:

Related official documentation:

Explore more

API Caching with ETag and Cache-Control: How Conditional Requests Cut Your Payloads

API Caching with ETag and Cache-Control: How Conditional Requests Cut Your Payloads

Learn how the Cache-Control header and ETag validation turn repeat API calls into 304 responses, prevent lost updates with If-Match, and cut payload size.

31 August 2026

REST API Naming Conventions: A Practical Style Guide

REST API Naming Conventions: A Practical Style Guide

Master REST API naming conventions with 10 concrete rules: plural nouns, kebab-case paths, JSON casing, versioning, and IDs. Do and don't examples included.

31 August 2026

How to Test OAuth 2.0 APIs in Apidog (Authorization Code, Client Credentials, and Token Refresh)

How to Test OAuth 2.0 APIs in Apidog (Authorization Code, Client Credentials, and Token Refresh)

Learn how to test OAuth 2.0 APIs in Apidog: authorization code flow with PKCE, client credentials, automatic token refresh, and 401/403 failure-path tests.

31 August 2026

Practice API Design-first in Apidog

Discover an easier way to build and use APIs

How to Configure Enterprise Policies in Apidog