description: This guide helps you enable security in OpenMetadata with Docker
---
# Enable Security
By default, security is not enabled when bringing up a cluster with the `metadata docker --start` command. To enable authentication and authorization, follow the below-mentioned steps:
1. Create an env file like the following in your machine and update the values as required. Refer to the [Enable Security](../../../../deploy/deploy-on-bare-metal/enable-security/) documentation to set up your preferred authentication provider.
3. Do not wait for the sample metadata ingestion to complete. The sample data ingestion will fail since the metadata server starts in a secure mode and will expect credentials to be present in the requests. Follow the [Configure Ingestion](../../../../deploy/deploy-on-bare-metal/enable-security/okta-sso/configure-security-ingestion.md) documentation for your preferred SSO to configure ingestion with secure credentials. You can exit the command line with "Ctrl + C".