-- A module may need several values from one provider that gives one per pair -- (novox/hq 04-ISSUES/069, ADR 0094). -- -- A pair credential was keyed on (provision, consumer node, consumer module, provider): one value -- per module per provider. Seven catalogue modules hold two to four independent secrets of their -- own -- a root certificate, its key and that key's password -- and the vault could serve each -- module one. The pair now carries the LOCAL name the credential goes by inside the module; empty -- for the ordinary one, so every existing row is the credential it was. alter table secret add column local text not null default ''; alter table secret drop constraint secret_pkey; alter table secret add primary key (name, local, consumer, consumer_module, provider);