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.
Click to show internal directories.
Click to hide internal directories.