mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
18 lines
885 B
Markdown
18 lines
885 B
Markdown
|
# Attestation config API
|
||
|
|
||
|
## Azure SEV-SNP
|
||
|
The version numbers of SEV-SNP are updated as part of [e2e_verify](/.github/actions/e2e_verify/action.yml).
|
||
|
Because the version numbers are not publicly posted by Azure, we observe the versions on Azure VMs and assume a global rollout after a threshold time.
|
||
|
|
||
|
This estimate might make manual intervention necessary when a global rollout didn't happen.
|
||
|
|
||
|
### Manually delete a version
|
||
|
```
|
||
|
COSIGN_PASSWORD=$CPW COSIGN_PRIVATE_KEY="$(cat $PATH_TO_KEY)" AWS_ACCESS_KEY_ID=$ID AWS_ACCESS_KEY=$KEY bazel run //internal/api/attestationconfigapi/cli delete -- --version 2023-09-02-12-52
|
||
|
```
|
||
|
|
||
|
### Manually upload a version
|
||
|
```
|
||
|
COSIGN_PASSWORD=$CPW COSIGN_PRIVATE_KEY="$(cat $PATH_TO_KEY)" AWS_ACCESS_KEY_ID=$ID AWS_ACCESS_KEY=$KEY bazel run //internal/api/attestationconfigapi/cli -- --force --version 2023-09-02-12-52 --maa-claims-path "${path}"
|
||
|
```
|