Skip to content

Conversation

@Xynnn007
Copy link
Member

@Xynnn007 Xynnn007 commented Feb 4, 2026

The API calling will look like

$ curl 127.0.0.1:8006/aa/tee-type
sample
$ curl 127.0.0.1:8006/version
Guest Components Version: v0.17.0-33-g7d9635fb-dirty

Close #1307

The new API can show the current tee platform information.

Related to confidential-containers#1307

Signed-off-by: Xynnn007 <[email protected]>
@Xynnn007 Xynnn007 requested a review from a team as a code owner February 4, 2026 04:18
Copy link
Member

@fitzthum fitzthum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great. One comment about the Tee Type

};
let res = self
.client
.get_tee_type(ttrpc::context::with_timeout(TTRPC_TIMEOUT), &req)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is always getting the primary tee type. Maybe we should change the name or also try to include if there are any additional tees/devices.

@bpradipt
Copy link
Member

bpradipt commented Feb 6, 2026

The API calling will look like

$ curl 127.0.0.1:8006/aa/tee-type
sample
$ curl 127.0.0.1:8006/version
Guest Components Version: v0.17.0-33-g7d9635fb-dirty

Has there been some thought on returning metadata using a single api ?
eg curl 127.0.0.1:8006/metadata which returns primary and additional TEEs, GC version and other info..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce CDH/AA/ASR Info endpoint

3 participants