Enable FIPS Compliance
- Last Updated: April 16, 2026
- 1 minute read
- ADO.NET
- Documentation
The data provider does not automatically detect the FIPS compliance mode in non-windows platforms. To enable FIPS compliance, a new connection option is available now. This option is only supported on non-Windows platforms and can be defined in the connection string. To know how to define a connection option in a connection string and learn about other available connection options, see Connection String Options.
Property
EnableFipsCompliance
Description
Determines whether the data provider uses only a FIPS compliant cryptographic algorithm or any algorithm. When this connection option is enabled, the data provider uses only a FIPS compliant cryptographic algorithm. By default, the data provider can use any algorithm.
Valid Values
true | false
Behavior
If set to true, the data provider uses a FIPS compliant algorithm only.
If set to false, the data provider can use any algorithm.
Category
Advanced
Default Value
false
Data Type
Boolean