# ...
generation:
  # ...
  mockServer:
    disabled: true # Setting this to true will disable mock server generation
```

## Configuring security credentials for contract tests

When running tests against a real API, the SDK may need to be configured with security credentials to authenticate with the API. To configure the SDK, add the `x-speakeasy-test-security` extension to the document, workflow, or individual step.

The `x-speakeasy-test-security` extension allows static values, values pulled from the environment, or runtime expressions referencing outputs from previous steps to be used when instantiating an SDK instance and making requests to the API.

**Important:** The keys under `value` must exactly match the names of the `securitySchemes` defined in your OpenAPI document's `components.securitySchemes` section.

For example, if your OpenAPI document defines:

```yaml
components:
  securitySchemes:
    myApiKeyScheme:
      type: apiKey
      in: header
      name: X-API-Key
    myBasicAuthScheme:
      type: http
      scheme: basic
    myBearerTokenScheme:
      type: http
      scheme: bearer
    myOAuth2Scheme:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.example.com/oauth2/token
          scopes: {}
```

Then your Arazzo test configuration should reference these exact scheme names:

```yaml
arazzo: 1.0.0