constellation/cli/internal/cloudcmd
Moritz Sanft f2ce9518a3
cli: support custom attestation policies for maa (#1375)
* create and update maa attestation policy

* use interface to allow unit testing

* fix test csp

* http request for policy patch

* go mod tidy

* remove hyphen

* go mod tidy

* wip: adapt to feedback

* linting fixes

* remove csp from tf call

* fix type assertion

* Add MAA URL to instance tags (#1409)

Signed-off-by: Daniel Weiße <dw@edgeless.systems>

* conditionally create maa provider

* only set instance tag when maa is created

* fix azure unit test

* bazel tidy

* remove AzureCVM const

Co-authored-by: Thomas Tendyck <51411342+thomasten@users.noreply.github.com>

* encode policy at runtime

* remove policy arg

* fix unit test

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>
Co-authored-by: Thomas Tendyck <51411342+thomasten@users.noreply.github.com>
2023-03-20 13:33:04 +01:00
..
BUILD.bazel cli: support custom attestation policies for maa (#1375) 2023-03-20 13:33:04 +01:00
clients_test.go cli: support custom attestation policies for maa (#1375) 2023-03-20 13:33:04 +01:00
clients.go cli: restructure upgrade apply (#1319) 2023-03-03 09:38:23 +01:00
cloudcmd.go dev-docs: Go package docs (#958) 2023-01-19 15:57:50 +01:00
create_test.go cli: support custom attestation policies for maa (#1375) 2023-03-20 13:33:04 +01:00
create.go cli: support custom attestation policies for maa (#1375) 2023-03-20 13:33:04 +01:00
iam_test.go cli: iam destroy (#946) 2023-02-24 11:36:41 +01:00
iam.go cli: remove ctx parameter from rollbackOnError to prevent wrong use 2023-03-20 08:49:46 +01:00
rollback_test.go cli: fix iam rollback (#1148) 2023-02-13 08:42:54 +01:00
rollback.go cli: remove ctx parameter from rollbackOnError to prevent wrong use 2023-03-20 08:49:46 +01:00
terminate_test.go cli: fix iam rollback (#1148) 2023-02-13 08:42:54 +01:00
terminate.go cli: fix iam rollback (#1148) 2023-02-13 08:42:54 +01:00
upgrade_test.go cli: restructure upgrade apply (#1319) 2023-03-03 09:38:23 +01:00
upgrade.go cli: restructure upgrade apply (#1319) 2023-03-03 09:38:23 +01:00
validators_test.go config: add attestation variant (#1413) 2023-03-14 11:46:27 +01:00
validators.go config: add attestation variant (#1413) 2023-03-14 11:46:27 +01:00