---
id: "connection_string"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["secrets"]
langs: ["common"]
quality: 55
url: "http://registry.apicrafter.io/datatype/connection_string"
---

# Connection string with credentials (`connection_string`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Connection string of a database or a cloud service that includes a password or an access key, for example Server=...;User Id=...;Password=... or DefaultEndpointsProtocol=...;AccountName=...;AccountKey=....

- Personal data (PII): no
- Categories: Secrets and credentials (passwords, keys, tokens) (secrets)
- Countries: global
- Languages: Common to most languages (common)

## Mappings

- purview: `Azure DocumentDB auth key`, `Azure IAAS database connection string and Azure SQL connection string`, `Azure IoT connection string`, `Azure Redis cache connection string`, `Azure service bus connection string`, `Azure SQL connection string`, `Azure storage account key`, `SQL Server connection string`, `All Credential Types`, `All credentials`

## Supported by tools

- `azureailanguage`
- `microsoftpurview`
- `nightfall`
- `trufflehog`

## Sources

- doc: <https://learn.microsoft.com/en-us/purview/sit-defn-sql-server-connection-string>
- wikipedia: <https://en.wikipedia.org/wiki/Connection_string>

## Quality

Score 55/100. Missing: regexp, examples, negative example, translation.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/connection_string.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/connection_string.yaml>
