models

package
v0.0.0-...-f1c346c Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Apache-2.0, BSD-2-Clause Imports: 0 Imported by: 4

Documentation

Overview

Package models contains models needed in client and server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSPrincipalTagsOptions

type AWSPrincipalTagsOptions struct {
	AllowedPrincipalTags *AllowedPrincipalTags `json:"allowed_principal_tags"`
}

AWSPrincipalTagsOptions represents the options for the AWSPrincipalTag token type.

type AllowedPrincipalTags

type AllowedPrincipalTags struct {
	ContainerImageSignatures *ContainerImageSignatures `json:"container_image_signatures"`
}

AllowedPrincipalTags allows for requestors to configure what principal tags are contained in the resulting GCA token.

type ContainerImageSignatures

type ContainerImageSignatures struct {
	KeyIDs []string `json:"key_ids"`
}

ContainerImageSignatures represents the configuration for AllowedPrincipalTags for ContainerImageSignature claims

type TokenOptions

type TokenOptions struct {
	Audience            string                   `json:"audience"`
	Nonces              []string                 `json:"nonces"`
	TokenType           string                   `json:"token_type"`
	PrincipalTagOptions *AWSPrincipalTagsOptions `json:"aws_principal_tag_options"`
}

TokenOptions contains fields that will be passed to the Attestation Service TokenOptions field. These fields are used to customize several claims in the token from the Attestation service.

Jump to

Keyboard shortcuts

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