Documentation ¶
Overview ¶
Package maa provides an interface for interacting with an MAA service on an infrastructure level.
Copyright (c) Edgeless Systems GmbH ¶
SPDX-License-Identifier: AGPL-3.0-only
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzurePolicyPatcher ¶
type AzurePolicyPatcher struct{}
AzurePolicyPatcher patches attestation policies on Azure.
func NewAzurePolicyPatcher ¶
func NewAzurePolicyPatcher() AzurePolicyPatcher
NewAzurePolicyPatcher returns a new AzurePolicyPatcher.
func (AzurePolicyPatcher) Patch ¶
func (p AzurePolicyPatcher) Patch(ctx context.Context, attestationURL string) error
Patch updates the attestation policy to the base64-encoded attestation policy JWT for the given attestation URL. https://learn.microsoft.com/en-us/azure/attestation/author-sign-policy#next-steps
Click to show internal directories.
Click to hide internal directories.