Help us shape the future of Go! Take the 2026 Go Developer Survey

identitygate

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package identitygate holds the switch that lets an approval gate use certificate-bound approvers.

The pieces of the approver identity feature land in several changes (the counting rule, the gate's anchoring and identity records, the re-ask and pre-execution paths). Until the last that makes the gate safe to use lands, a policy whose resolver returns a certificate-bound verifier is refused when the gate is configured (agent.ErrConfig), so no deployment can reach a half-built gate. That change turned Enabled on by default.

Index

Constants

This section is empty.

Variables

View Source
var Enabled atomic.Bool

Enabled reports whether the gate accepts certificate-bound approvers. It is on: the last change of the feature (the pre-execution status check on every path to the call) turned it on. Tests of the pieces still switch it to check the refusal.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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