# Configuration as code

URL: https://openship.io/features/configuration-as-code

Keep supported project settings in openship.json.

Version deployment configuration beside your source. Declare supported build, runtime, service, and health settings in a file you can review with a code change.

Create openship.json in the project and use the published schema to review supported fields. Configure commands, runtime options, mounts, or service settings where supported by the selected deployment path.

The configuration parser validates declared values before applying them. Available behavior depends on the runtime; schema support for a setting does not imply every destination can execute it. Keep sensitive credentials in the configured credential and variable settings.

## Versioned settings

Review supported deployment configuration with source changes.

## Schema guidance

Use documented fields and validation to catch invalid settings.

## Runtime context

Choose values supported by the intended deployment path.

[Read the guide](https://openship.io/docs/reference/openship-json)
