You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trustee gained a policy_id_map, with which an administrator maps an id
that a client names in the RCAR Request to the Attestation Service
policies that evaluate its evidence. Give the KBC a way to name such an
id, so that a deployment can have different guests evaluated against
different policies without running separate KBS instances.
kbs_protocol carries the id from `KbsClientBuilder::set_id` into the
`extra-params` of the auth Request. AA takes it from the new `id` field of
the `[token_configs.kbs]` section, which is empty by default.
An empty id is not sent at all: KBS falls back to a default policy for a
Request without an id, but rejects the handshake of a client that sends an
id the deployment does not declare. Configuring an id therefore only works
against a KBS that maps it, which is why it stays opt-in and why the empty
string, rather than an `Option`, expresses "not configured" in the config.
Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments