azure

package
v0.19.1237 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureOpRoleRaw

type AzureOpRoleRaw struct {
	Actions      []string
	BuiltInRoles []string
}

AzureOpRoleRaw is the un-rendered payload for a standard operation role.

func ExtractAzureStandardRolesRaw

func ExtractAzureStandardRolesRaw(appCfg *app.AppConfig) (provision, maintenance, deprovision AzureOpRoleRaw)

ExtractAzureStandardRolesRaw returns the grants for the standard provision/maintenance/deprovision operation roles.

type AzureRoleRaw

type AzureRoleRaw struct {
	Name           string
	Actions        []string
	BuiltInRoles   []string
	EnabledInStack sql.NullBool
}

AzureRoleRaw is the un-rendered per-role payload the stack SDK consumes for break-glass and custom Azure roles.

Azure splits a role's grants across two axes, and the Terraform module treats them differently: Actions become a subscription-scoped custom role definition, BuiltInRoles become direct assignments at resource-group scope.

func ExtractAzureRolesRaw

func ExtractAzureRolesRaw(roles []app.AppAWSIAMRoleConfig) []AzureRoleRaw

ExtractAzureRolesRaw returns the raw payload for a list of break-glass or custom Azure roles, skipping non-Azure and empty roles.

Jump to

Keyboard shortcuts

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