net-kingdom/tools/service-identity/fixtures/valid/conformant.json

90 lines
1.8 KiB
JSON
Raw Normal View History

{
"schema_version": "0.1",
"service": "example",
"owner": "Example owners",
"declared_at": "2026-10-24",
"attestation": {
"authored_by": "fixture",
"basis": [
"fixture"
],
"owner_confirmed": true
},
"complete": true,
"identities": [
{
"name": "svc-example",
"purpose": "Read-only lookup",
"interactive_login": false,
"second_factor": "not_applicable",
"custody": [
"delivered-secret"
],
"consumers": [
{
"name": "example",
"kind": "service"
}
],
"owner": "Example owners",
"rotation": {
"path": "Rotate with the consumer",
"coupling": [
"example"
]
},
"status": "active",
"principal_type": "SERVICE",
"conventions": [
"bind"
],
"grants": [
{
"mode": "USE",
"scope": "directory",
"activation": "STANDING",
"environments": [
"PRODUCTION"
],
"read_only": true
}
]
},
{
"name": "ex-admin",
"purpose": "Administer the example service",
"interactive_login": true,
"second_factor": "required",
"custody": [
"personal-safe"
],
"consumers": [
{
"name": "operator",
"kind": "person"
}
],
"owner": "Example owners",
"rotation": {
"path": "Owner-managed",
"coupling": []
},
"status": "active",
"principal_type": "HUMAN",
"conventions": [
"service-admin"
],
"grants": [
{
"mode": "ADMINISTER",
"scope": "example",
"activation": "STANDING",
"environments": [
"PRODUCTION"
]
}
]
}
]
}