mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-12 00:40:25 -04:00
config: fetch latest AWS TCB values
This commit is contained in:
parent
350397923f
commit
4813fcfdb6
3 changed files with 45 additions and 2 deletions
|
@ -463,6 +463,12 @@ func New(fileHandler file.Handler, name string, fetcher attestationconfigapi.Fet
|
|||
}
|
||||
}
|
||||
|
||||
if aws := c.Attestation.AWSSEVSNP; aws != nil {
|
||||
if err := aws.FetchAndSetLatestVersionNumbers(context.Background(), fetcher); err != nil {
|
||||
return c, err
|
||||
}
|
||||
}
|
||||
|
||||
// Read secrets from env-vars.
|
||||
clientSecretValue := os.Getenv(constants.EnvVarAzureClientSecretValue)
|
||||
if clientSecretValue != "" && c.Provider.Azure != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue