oidctrust

package
v0.351.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCmd

func CreateCmd(ch *cmdutil.Helper) *cobra.Command

func DeleteCmd

func DeleteCmd(ch *cmdutil.Helper) *cobra.Command

func ListCmd

func ListCmd(ch *cmdutil.Helper) *cobra.Command

func OIDCTrustCmd

func OIDCTrustCmd(ch *cmdutil.Helper) *cobra.Command

OIDCTrustCmd encapsulates the command for managing OIDC trusts.

func ProvidersCmd

func ProvidersCmd(ch *cmdutil.Helper) *cobra.Command

func ShowCmd

func ShowCmd(ch *cmdutil.Helper) *cobra.Command

func UpdateCmd

func UpdateCmd(ch *cmdutil.Helper) *cobra.Command

Types

type OIDCTrust

type OIDCTrust struct {
	ID         string `header:"id" json:"id"`
	Name       string `header:"name" json:"display_name"`
	Provider   string `header:"provider" json:"provider"`
	Audience   string `header:"audience" json:"audience"`
	MaxTTL     int    `header:"max ttl" json:"max_ttl_seconds"`
	Conditions string `header:"conditions" json:"conditions"`
	Accesses   string `header:"accesses" json:"accesses"`
	CreatedAt  int64  `header:"created_at,timestamp(ms|utc|human)" json:"created_at"`
	// contains filtered or unexported fields
}

OIDCTrust returns a table and json serializable OIDC trust for printing.

func (*OIDCTrust) MarshalCSVValue

func (t *OIDCTrust) MarshalCSVValue() interface{}

func (*OIDCTrust) MarshalJSON

func (t *OIDCTrust) MarshalJSON() ([]byte, error)

type Provider

type Provider struct {
	Name           string `header:"name" json:"name"`
	DisplayName    string `header:"display name" json:"display_name"`
	Issuer         string `header:"issuer" json:"issuer"`
	RequiredClaims string `header:"required claims" json:"required_claims"`
}

Provider is a table and CSV serializable OIDC trust provider. JSON output uses the API objects directly so that required claims remain an array.

Jump to

Keyboard shortcuts

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