Secret SHA-256 Fields
End of life: February 1, 2027. After this date, the API does not have these fields. A query that asks for them fails.
Replacement: InstanceSecretField.isSet.
Deprecated fields​
| Field | Replacement |
|---|---|
InstanceSecretField.sha256 | InstanceSecretField.isSet |
InstanceSecret.sha256, returned by setInstanceSecret and removeInstanceSecret | isSet on Instance.secretFields |
Massdriver encrypts secret values with keys that belong to your organization. A SHA-256 hash of a secret is stored next to the encrypted value. For a short secret, someone who has the hash can test guesses against it. Massdriver will stop storing the hash.
Migration checklist​
Find each query that selects
sha256onsecretFields,setInstanceSecret, orremoveInstanceSecret.Select
isSetinstead. To find out if a secret has a value, useisSet, not a null check onsha256:query {
instance(organizationId: "your-org", id: "myapp-prod-api") {
secretFields {
name
required
isSet
}
}
}Remove
sha256from the selections ofsetInstanceSecretandremoveInstanceSecret. To check the result, querysecretFieldsagain.Upgrade the Massdriver CLI, Go SDK, and MCP server to versions that do not select
sha256.