cayu.snapshots.AgentSnapshotIdentityBinding
Part of cayu.snapshots.base. Read the Python API overview and install the required extra.
from cayu.snapshots import AgentSnapshotIdentityBindingImmutable authorization-scoped registration of one logical agent at one root.
Bases: _SnapshotModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
record_type |
Literal['cayu.agent-snapshot-identity-binding'] |
'cayu.agent-snapshot-identity-binding' |
schema_version |
Literal[1] |
1 |
binding_id |
StrictStr |
required |
subject |
AgentSnapshotSubject |
required |
snapshot |
AgentSnapshotRef |
required |
authority_scope_fingerprint |
StrictStr |
required |
validate_digests (method)
Section titled “validate_digests (method)”AgentSnapshotIdentityBinding.validate_digests(value: str, info) -> strvalidate_binding (method)
Section titled “validate_binding (method)”AgentSnapshotIdentityBinding.validate_binding() -> AgentSnapshotIdentityBindingidentity_material (method)
Section titled “identity_material (method)”AgentSnapshotIdentityBinding.identity_material() -> dict[str, object]create (method)
Section titled “create (method)”AgentSnapshotIdentityBinding.create(*, subject: AgentSnapshotSubject, snapshot: AgentSnapshotRef, authority_scope_fingerprint: str) -> AgentSnapshotIdentityBinding