Documentation
¶
Index ¶
- func CreateCmd(ch *cmdutil.Helper) *cobra.Command
- func DeleteCmd(ch *cmdutil.Helper) *cobra.Command
- func ListCmd(ch *cmdutil.Helper) *cobra.Command
- func OIDCTrustCmd(ch *cmdutil.Helper) *cobra.Command
- func ProvidersCmd(ch *cmdutil.Helper) *cobra.Command
- func ShowCmd(ch *cmdutil.Helper) *cobra.Command
- func UpdateCmd(ch *cmdutil.Helper) *cobra.Command
- type OIDCTrust
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OIDCTrustCmd ¶
OIDCTrustCmd encapsulates the command for managing OIDC trusts.
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.