azure

package
v0.19.1291 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const ManagementAudience = "https://management.azure.com/"

ManagementAudience is the Azure Resource Manager audience. A token for it is a live ARM credential for whatever identity minted it.

Variables

This section is empty.

Functions

func ConfiguredRunnerAudience

func ConfiguredRunnerAudience(configured string) string

ConfiguredRunnerAudience returns a Nuon app audience, or empty when the value is unset or not an api://<client-id> audience.

func ExpectedRunnerAudience

func ExpectedRunnerAudience(configured, presented string) string

ExpectedRunnerAudience is the audience ctl-api verifies a runner token against. presented is the unverified aud claim; it only picks between the ARM audience and the configured Nuon audience, both server-controlled. The ARM audience stays accepted until every live runner requests the Nuon audience, because dropping it first logs them out.

func RunnerAuthAppID added in v0.19.1284

func RunnerAuthAppID(configured string) string

RunnerAuthAppID is the Entra application id inside a configured Nuon audience. Empty when the audience is unset or not api://<client-id>.

func RunnerAuthResource

func RunnerAuthResource(configured string) (string, bool)

RunnerAuthResource is the IMDS resource a runner should request. An empty value keeps the ARM audience. Anything else has to be that audience or a Nuon app audience.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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