maa

package
v2.16.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package maa provides an interface for interacting with an MAA service on an infrastructure level.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL