v1alpha1

package
v0.24.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=samlclient.keycloak.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "samlclient.keycloak.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Client_Kind             = "Client"
	Client_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Client_Kind}.String()
	Client_KindAPIVersion   = Client_Kind + "." + CRDGroupVersion.String()
	Client_GroupVersionKind = CRDGroupVersion.WithKind(Client_Kind)
)

Repository type metadata.

View Source
var (
	ClientDefaultScopes_Kind             = "ClientDefaultScopes"
	ClientDefaultScopes_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ClientDefaultScopes_Kind}.String()
	ClientDefaultScopes_KindAPIVersion   = ClientDefaultScopes_Kind + "." + CRDGroupVersion.String()
	ClientDefaultScopes_GroupVersionKind = CRDGroupVersion.WithKind(ClientDefaultScopes_Kind)
)

Repository type metadata.

View Source
var (
	ClientScope_Kind             = "ClientScope"
	ClientScope_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ClientScope_Kind}.String()
	ClientScope_KindAPIVersion   = ClientScope_Kind + "." + CRDGroupVersion.String()
	ClientScope_GroupVersionKind = CRDGroupVersion.WithKind(ClientScope_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AuthenticationFlowBindingOverridesInitParameters

type AuthenticationFlowBindingOverridesInitParameters struct {

	// Browser flow id, (flow needs to exist)
	BrowserID *string `json:"browserId,omitempty" tf:"browser_id,omitempty"`

	// Direct grant flow id (flow needs to exist)
	DirectGrantID *string `json:"directGrantId,omitempty" tf:"direct_grant_id,omitempty"`
}

func (*AuthenticationFlowBindingOverridesInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationFlowBindingOverridesInitParameters.

func (*AuthenticationFlowBindingOverridesInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AuthenticationFlowBindingOverridesObservation

type AuthenticationFlowBindingOverridesObservation struct {

	// Browser flow id, (flow needs to exist)
	BrowserID *string `json:"browserId,omitempty" tf:"browser_id,omitempty"`

	// Direct grant flow id (flow needs to exist)
	DirectGrantID *string `json:"directGrantId,omitempty" tf:"direct_grant_id,omitempty"`
}

func (*AuthenticationFlowBindingOverridesObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationFlowBindingOverridesObservation.

func (*AuthenticationFlowBindingOverridesObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AuthenticationFlowBindingOverridesParameters

type AuthenticationFlowBindingOverridesParameters struct {

	// Browser flow id, (flow needs to exist)
	// +kubebuilder:validation:Optional
	BrowserID *string `json:"browserId,omitempty" tf:"browser_id,omitempty"`

	// Direct grant flow id (flow needs to exist)
	// +kubebuilder:validation:Optional
	DirectGrantID *string `json:"directGrantId,omitempty" tf:"direct_grant_id,omitempty"`
}

func (*AuthenticationFlowBindingOverridesParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationFlowBindingOverridesParameters.

func (*AuthenticationFlowBindingOverridesParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Client

type Client struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClientSpec   `json:"spec"`
	Status            ClientStatus `json:"status,omitempty"`
}

Client is the Schema for the Clients API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,keycloak}

func (*Client) DeepCopy

func (in *Client) DeepCopy() *Client

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Client.

func (*Client) DeepCopyInto

func (in *Client) DeepCopyInto(out *Client)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Client) DeepCopyObject

func (in *Client) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Client) GetCondition

func (mg *Client) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Client.

func (*Client) GetConnectionDetailsMapping

func (tr *Client) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Client

func (*Client) GetDeletionPolicy

func (mg *Client) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Client.

func (*Client) GetID

func (tr *Client) GetID() string

GetID returns ID of underlying Terraform resource of this Client

func (*Client) GetInitParameters

func (tr *Client) GetInitParameters() (map[string]any, error)

GetInitParameters of this Client

func (*Client) GetManagementPolicies

func (mg *Client) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Client.

func (*Client) GetMergedParameters

func (tr *Client) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Client

func (*Client) GetObservation

func (tr *Client) GetObservation() (map[string]any, error)

GetObservation of this Client

func (*Client) GetParameters

func (tr *Client) GetParameters() (map[string]any, error)

GetParameters of this Client

func (*Client) GetProviderConfigReference

func (mg *Client) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Client.

func (*Client) GetPublishConnectionDetailsTo

func (mg *Client) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Client.

func (*Client) GetTerraformResourceType

func (mg *Client) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Client

func (*Client) GetTerraformSchemaVersion

func (tr *Client) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Client) GetWriteConnectionSecretToReference

func (mg *Client) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Client.

func (*Client) Hub

func (tr *Client) Hub()

Hub marks this type as a conversion hub.

func (*Client) LateInitialize

func (tr *Client) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Client using its observed tfState. returns True if there are any spec changes for the resource.

func (*Client) ResolveReferences

func (mg *Client) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Client.

func (*Client) SetConditions

func (mg *Client) SetConditions(c ...xpv1.Condition)

SetConditions of this Client.

func (*Client) SetDeletionPolicy

func (mg *Client) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Client.

func (*Client) SetManagementPolicies

func (mg *Client) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Client.

func (*Client) SetObservation

func (tr *Client) SetObservation(obs map[string]any) error

SetObservation for this Client

func (*Client) SetParameters

func (tr *Client) SetParameters(params map[string]any) error

SetParameters for this Client

func (*Client) SetProviderConfigReference

func (mg *Client) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Client.

func (*Client) SetPublishConnectionDetailsTo

func (mg *Client) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Client.

func (*Client) SetWriteConnectionSecretToReference

func (mg *Client) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Client.

type ClientDefaultScopes

type ClientDefaultScopes struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.defaultScopes) || (has(self.initProvider) && has(self.initProvider.defaultScopes))",message="spec.forProvider.defaultScopes is a required parameter"
	Spec   ClientDefaultScopesSpec   `json:"spec"`
	Status ClientDefaultScopesStatus `json:"status,omitempty"`
}

ClientDefaultScopes is the Schema for the ClientDefaultScopess API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,keycloak}

func (*ClientDefaultScopes) DeepCopy

func (in *ClientDefaultScopes) DeepCopy() *ClientDefaultScopes

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientDefaultScopes.

func (*ClientDefaultScopes) DeepCopyInto

func (in *ClientDefaultScopes) DeepCopyInto(out *ClientDefaultScopes)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClientDefaultScopes) DeepCopyObject

func (in *ClientDefaultScopes) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClientDefaultScopes) GetCondition

func (mg *ClientDefaultScopes) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ClientDefaultScopes.

func (*ClientDefaultScopes) GetConnectionDetailsMapping

func (tr *ClientDefaultScopes) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ClientDefaultScopes

func (*ClientDefaultScopes) GetDeletionPolicy

func (mg *ClientDefaultScopes) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ClientDefaultScopes.

func (*ClientDefaultScopes) GetID

func (tr *ClientDefaultScopes) GetID() string

GetID returns ID of underlying Terraform resource of this ClientDefaultScopes

func (*ClientDefaultScopes) GetInitParameters

func (tr *ClientDefaultScopes) GetInitParameters() (map[string]any, error)

GetInitParameters of this ClientDefaultScopes

func (*ClientDefaultScopes) GetManagementPolicies

func (mg *ClientDefaultScopes) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ClientDefaultScopes.

func (*ClientDefaultScopes) GetMergedParameters

func (tr *ClientDefaultScopes) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this ClientDefaultScopes

func (*ClientDefaultScopes) GetObservation

func (tr *ClientDefaultScopes) GetObservation() (map[string]any, error)

GetObservation of this ClientDefaultScopes

func (*ClientDefaultScopes) GetParameters

func (tr *ClientDefaultScopes) GetParameters() (map[string]any, error)

GetParameters of this ClientDefaultScopes

func (*ClientDefaultScopes) GetProviderConfigReference

func (mg *ClientDefaultScopes) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ClientDefaultScopes.

func (*ClientDefaultScopes) GetPublishConnectionDetailsTo

func (mg *ClientDefaultScopes) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ClientDefaultScopes.

func (*ClientDefaultScopes) GetTerraformResourceType

func (mg *ClientDefaultScopes) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ClientDefaultScopes

func (*ClientDefaultScopes) GetTerraformSchemaVersion

func (tr *ClientDefaultScopes) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ClientDefaultScopes) GetWriteConnectionSecretToReference

func (mg *ClientDefaultScopes) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ClientDefaultScopes.

func (*ClientDefaultScopes) Hub

func (tr *ClientDefaultScopes) Hub()

Hub marks this type as a conversion hub.

func (*ClientDefaultScopes) LateInitialize

func (tr *ClientDefaultScopes) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ClientDefaultScopes using its observed tfState. returns True if there are any spec changes for the resource.

func (*ClientDefaultScopes) ResolveReferences

func (mg *ClientDefaultScopes) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this ClientDefaultScopes.

func (*ClientDefaultScopes) SetConditions

func (mg *ClientDefaultScopes) SetConditions(c ...xpv1.Condition)

SetConditions of this ClientDefaultScopes.

func (*ClientDefaultScopes) SetDeletionPolicy

func (mg *ClientDefaultScopes) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ClientDefaultScopes.

func (*ClientDefaultScopes) SetManagementPolicies

func (mg *ClientDefaultScopes) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this ClientDefaultScopes.

func (*ClientDefaultScopes) SetObservation

func (tr *ClientDefaultScopes) SetObservation(obs map[string]any) error

SetObservation for this ClientDefaultScopes

func (*ClientDefaultScopes) SetParameters

func (tr *ClientDefaultScopes) SetParameters(params map[string]any) error

SetParameters for this ClientDefaultScopes

func (*ClientDefaultScopes) SetProviderConfigReference

func (mg *ClientDefaultScopes) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ClientDefaultScopes.

func (*ClientDefaultScopes) SetPublishConnectionDetailsTo

func (mg *ClientDefaultScopes) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ClientDefaultScopes.

func (*ClientDefaultScopes) SetWriteConnectionSecretToReference

func (mg *ClientDefaultScopes) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ClientDefaultScopes.

type ClientDefaultScopesInitParameters

type ClientDefaultScopesInitParameters struct {

	// The ID of the client to attach default scopes to. Note that this is the unique ID of the client generated by Keycloak.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/openidclient/v1alpha1.Client
	// +crossplane:generate:reference:extractor=github.com/crossplane-contrib/provider-keycloak/config/common.UUIDExtractor()
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Reference to a Client in openidclient to populate clientId.
	// +kubebuilder:validation:Optional
	ClientIDRef *v1.Reference `json:"clientIdRef,omitempty" tf:"-"`

	// Selector for a Client in openidclient to populate clientId.
	// +kubebuilder:validation:Optional
	ClientIDSelector *v1.Selector `json:"clientIdSelector,omitempty" tf:"-"`

	// An array of client scope names to attach to this client.
	// +listType=set
	DefaultScopes []*string `json:"defaultScopes,omitempty" tf:"default_scopes,omitempty"`

	// The realm this client and scopes exists in.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// Reference to a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDRef *v1.Reference `json:"realmIdRef,omitempty" tf:"-"`

	// Selector for a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDSelector *v1.Selector `json:"realmIdSelector,omitempty" tf:"-"`
}

func (*ClientDefaultScopesInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientDefaultScopesInitParameters.

func (*ClientDefaultScopesInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientDefaultScopesList

type ClientDefaultScopesList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClientDefaultScopes `json:"items"`
}

ClientDefaultScopesList contains a list of ClientDefaultScopess

func (*ClientDefaultScopesList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientDefaultScopesList.

func (*ClientDefaultScopesList) DeepCopyInto

func (in *ClientDefaultScopesList) DeepCopyInto(out *ClientDefaultScopesList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClientDefaultScopesList) DeepCopyObject

func (in *ClientDefaultScopesList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClientDefaultScopesList) GetItems

func (l *ClientDefaultScopesList) GetItems() []resource.Managed

GetItems of this ClientDefaultScopesList.

type ClientDefaultScopesObservation

type ClientDefaultScopesObservation struct {

	// The ID of the client to attach default scopes to. Note that this is the unique ID of the client generated by Keycloak.
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// An array of client scope names to attach to this client.
	// +listType=set
	DefaultScopes []*string `json:"defaultScopes,omitempty" tf:"default_scopes,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The realm this client and scopes exists in.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`
}

func (*ClientDefaultScopesObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientDefaultScopesObservation.

func (*ClientDefaultScopesObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientDefaultScopesParameters

type ClientDefaultScopesParameters struct {

	// The ID of the client to attach default scopes to. Note that this is the unique ID of the client generated by Keycloak.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/openidclient/v1alpha1.Client
	// +crossplane:generate:reference:extractor=github.com/crossplane-contrib/provider-keycloak/config/common.UUIDExtractor()
	// +kubebuilder:validation:Optional
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Reference to a Client in openidclient to populate clientId.
	// +kubebuilder:validation:Optional
	ClientIDRef *v1.Reference `json:"clientIdRef,omitempty" tf:"-"`

	// Selector for a Client in openidclient to populate clientId.
	// +kubebuilder:validation:Optional
	ClientIDSelector *v1.Selector `json:"clientIdSelector,omitempty" tf:"-"`

	// An array of client scope names to attach to this client.
	// +kubebuilder:validation:Optional
	// +listType=set
	DefaultScopes []*string `json:"defaultScopes,omitempty" tf:"default_scopes,omitempty"`

	// The realm this client and scopes exists in.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	// +kubebuilder:validation:Optional
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// Reference to a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDRef *v1.Reference `json:"realmIdRef,omitempty" tf:"-"`

	// Selector for a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDSelector *v1.Selector `json:"realmIdSelector,omitempty" tf:"-"`
}

func (*ClientDefaultScopesParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientDefaultScopesParameters.

func (*ClientDefaultScopesParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientDefaultScopesSpec

type ClientDefaultScopesSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClientDefaultScopesParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ClientDefaultScopesInitParameters `json:"initProvider,omitempty"`
}

ClientDefaultScopesSpec defines the desired state of ClientDefaultScopes

func (*ClientDefaultScopesSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientDefaultScopesSpec.

func (*ClientDefaultScopesSpec) DeepCopyInto

func (in *ClientDefaultScopesSpec) DeepCopyInto(out *ClientDefaultScopesSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientDefaultScopesStatus

type ClientDefaultScopesStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ClientDefaultScopesObservation `json:"atProvider,omitempty"`
}

ClientDefaultScopesStatus defines the observed state of ClientDefaultScopes.

func (*ClientDefaultScopesStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientDefaultScopesStatus.

func (*ClientDefaultScopesStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientInitParameters

type ClientInitParameters struct {

	// SAML POST Binding URL for the client's assertion consumer service (login responses).
	AssertionConsumerPostURL *string `json:"assertionConsumerPostUrl,omitempty" tf:"assertion_consumer_post_url,omitempty"`

	// SAML Redirect Binding URL for the client's assertion consumer service (login responses).
	AssertionConsumerRedirectURL *string `json:"assertionConsumerRedirectUrl,omitempty" tf:"assertion_consumer_redirect_url,omitempty"`

	// Override realm authentication flow bindings
	AuthenticationFlowBindingOverrides []AuthenticationFlowBindingOverridesInitParameters `json:"authenticationFlowBindingOverrides,omitempty" tf:"authentication_flow_binding_overrides,omitempty"`

	// When specified, this URL will be used whenever Keycloak needs to link to this client.
	BaseURL *string `json:"baseUrl,omitempty" tf:"base_url,omitempty"`

	// The Canonicalization Method for XML signatures. Should be one of "EXCLUSIVE", "EXCLUSIVE_WITH_COMMENTS", "INCLUSIVE", or "INCLUSIVE_WITH_COMMENTS". Defaults to "EXCLUSIVE".
	CanonicalizationMethod *string `json:"canonicalizationMethod,omitempty" tf:"canonicalization_method,omitempty"`

	// The unique ID of this client, referenced in the URI during authentication and in issued tokens.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/openidclient/v1alpha1.Client
	// +crossplane:generate:reference:extractor=github.com/crossplane-contrib/provider-keycloak/config/common.UUIDExtractor()
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Reference to a Client in openidclient to populate clientId.
	// +kubebuilder:validation:Optional
	ClientIDRef *v1.Reference `json:"clientIdRef,omitempty" tf:"-"`

	// Selector for a Client in openidclient to populate clientId.
	// +kubebuilder:validation:Optional
	ClientIDSelector *v1.Selector `json:"clientIdSelector,omitempty" tf:"-"`

	// When true, Keycloak will expect that documents originating from a client will be signed using the certificate and/or key configured via signing_certificate and signing_private_key. Defaults to true.
	ClientSignatureRequired *bool `json:"clientSignatureRequired,omitempty" tf:"client_signature_required,omitempty"`

	// The description of this client in the GUI.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// When false, this client will not be able to initiate a login or obtain access tokens. Defaults to true.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// When true, the SAML assertions will be encrypted by Keycloak using the client's public key. Defaults to false.
	EncryptAssertions *bool `json:"encryptAssertions,omitempty" tf:"encrypt_assertions,omitempty"`

	// If assertions for the client are encrypted, this certificate will be used for encryption.
	EncryptionCertificate *string `json:"encryptionCertificate,omitempty" tf:"encryption_certificate,omitempty"`

	// A map of key/value pairs to add extra configuration attributes to this client. Use this attribute at your own risk, as s may conflict with top-level configuration attributes in future provider updates.
	// +mapType=granular
	ExtraConfig map[string]*string `json:"extraConfig,omitempty" tf:"extra_config,omitempty"`

	// Ignore requested NameID subject format and use the one defined in name_id_format instead. Defaults to false.
	ForceNameIDFormat *bool `json:"forceNameIdFormat,omitempty" tf:"force_name_id_format,omitempty"`

	// When true, Keycloak will always respond to an authentication request via the SAML POST Binding. Defaults to true.
	ForcePostBinding *bool `json:"forcePostBinding,omitempty" tf:"force_post_binding,omitempty"`

	// When true, this client will require a browser redirect in order to perform a logout. Defaults to true.
	FrontChannelLogout *bool `json:"frontChannelLogout,omitempty" tf:"front_channel_logout,omitempty"`

	// - Allow to include all roles mappings in the access token
	FullScopeAllowed *bool `json:"fullScopeAllowed,omitempty" tf:"full_scope_allowed,omitempty"`

	// Relay state you want to send with SAML request when you want to do IDP Initiated SSO.
	IdpInitiatedSsoRelayState *string `json:"idpInitiatedSsoRelayState,omitempty" tf:"idp_initiated_sso_relay_state,omitempty"`

	// URL fragment name to reference client when you want to do IDP Initiated SSO.
	IdpInitiatedSsoURLName *string `json:"idpInitiatedSsoUrlName,omitempty" tf:"idp_initiated_sso_url_name,omitempty"`

	// When true, an AuthnStatement will be included in the SAML response. Defaults to true.
	IncludeAuthnStatement *bool `json:"includeAuthnStatement,omitempty" tf:"include_authn_statement,omitempty"`

	// The login theme of this client.
	LoginTheme *string `json:"loginTheme,omitempty" tf:"login_theme,omitempty"`

	// SAML POST Binding URL for the client's single logout service.
	LogoutServicePostBindingURL *string `json:"logoutServicePostBindingUrl,omitempty" tf:"logout_service_post_binding_url,omitempty"`

	// SAML Redirect Binding URL for the client's single logout service.
	LogoutServiceRedirectBindingURL *string `json:"logoutServiceRedirectBindingUrl,omitempty" tf:"logout_service_redirect_binding_url,omitempty"`

	// When specified, this URL will be used for all SAML requests.
	MasterSAMLProcessingURL *string `json:"masterSamlProcessingUrl,omitempty" tf:"master_saml_processing_url,omitempty"`

	// The display name of this client in the GUI.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Sets the Name ID format for the subject.
	NameIDFormat *string `json:"nameIdFormat,omitempty" tf:"name_id_format,omitempty"`

	// The realm this client is attached to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// Reference to a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDRef *v1.Reference `json:"realmIdRef,omitempty" tf:"-"`

	// Selector for a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDSelector *v1.Selector `json:"realmIdSelector,omitempty" tf:"-"`

	// When specified, this value is prepended to all relative URLs.
	RootURL *string `json:"rootUrl,omitempty" tf:"root_url,omitempty"`

	// When true, the SAML assertions will be signed by Keycloak using the realm's private key, and embedded within the SAML XML Auth response. Defaults to false.
	SignAssertions *bool `json:"signAssertions,omitempty" tf:"sign_assertions,omitempty"`

	// When true, the SAML document will be signed by Keycloak using the realm's private key. Defaults to true.
	SignDocuments *bool `json:"signDocuments,omitempty" tf:"sign_documents,omitempty"`

	// The signature algorithm used to sign documents. Should be one of "RSA_SHA1", "RSA_SHA256", "RSA_SHA256_MGF1, "RSA_SHA512", "RSA_SHA512_MGF1" or "DSA_SHA1".
	SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty" tf:"signature_algorithm,omitempty"`

	// The value of the KeyName element within the signed SAML document. Should be one of "NONE", "KEY_ID", or "CERT_SUBJECT". Defaults to "KEY_ID".
	SignatureKeyName *string `json:"signatureKeyName,omitempty" tf:"signature_key_name,omitempty"`

	// If documents or assertions from the client are signed, this certificate will be used to verify the signature.
	SigningCertificate *string `json:"signingCertificate,omitempty" tf:"signing_certificate,omitempty"`

	// If documents or assertions from the client are signed, this private key will be used to verify the signature.
	SigningPrivateKey *string `json:"signingPrivateKey,omitempty" tf:"signing_private_key,omitempty"`

	// When specified, Keycloak will use this list to validate given Assertion Consumer URLs specified in the authentication request.
	// +listType=set
	ValidRedirectUris []*string `json:"validRedirectUris,omitempty" tf:"valid_redirect_uris,omitempty"`
}

func (*ClientInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientInitParameters.

func (*ClientInitParameters) DeepCopyInto

func (in *ClientInitParameters) DeepCopyInto(out *ClientInitParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientList

type ClientList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Client `json:"items"`
}

ClientList contains a list of Clients

func (*ClientList) DeepCopy

func (in *ClientList) DeepCopy() *ClientList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientList.

func (*ClientList) DeepCopyInto

func (in *ClientList) DeepCopyInto(out *ClientList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClientList) DeepCopyObject

func (in *ClientList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClientList) GetItems

func (l *ClientList) GetItems() []resource.Managed

GetItems of this ClientList.

type ClientObservation

type ClientObservation struct {

	// SAML POST Binding URL for the client's assertion consumer service (login responses).
	AssertionConsumerPostURL *string `json:"assertionConsumerPostUrl,omitempty" tf:"assertion_consumer_post_url,omitempty"`

	// SAML Redirect Binding URL for the client's assertion consumer service (login responses).
	AssertionConsumerRedirectURL *string `json:"assertionConsumerRedirectUrl,omitempty" tf:"assertion_consumer_redirect_url,omitempty"`

	// Override realm authentication flow bindings
	AuthenticationFlowBindingOverrides []AuthenticationFlowBindingOverridesObservation `json:"authenticationFlowBindingOverrides,omitempty" tf:"authentication_flow_binding_overrides,omitempty"`

	// When specified, this URL will be used whenever Keycloak needs to link to this client.
	BaseURL *string `json:"baseUrl,omitempty" tf:"base_url,omitempty"`

	// The Canonicalization Method for XML signatures. Should be one of "EXCLUSIVE", "EXCLUSIVE_WITH_COMMENTS", "INCLUSIVE", or "INCLUSIVE_WITH_COMMENTS". Defaults to "EXCLUSIVE".
	CanonicalizationMethod *string `json:"canonicalizationMethod,omitempty" tf:"canonicalization_method,omitempty"`

	// The unique ID of this client, referenced in the URI during authentication and in issued tokens.
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// When true, Keycloak will expect that documents originating from a client will be signed using the certificate and/or key configured via signing_certificate and signing_private_key. Defaults to true.
	ClientSignatureRequired *bool `json:"clientSignatureRequired,omitempty" tf:"client_signature_required,omitempty"`

	// The description of this client in the GUI.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// When false, this client will not be able to initiate a login or obtain access tokens. Defaults to true.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// When true, the SAML assertions will be encrypted by Keycloak using the client's public key. Defaults to false.
	EncryptAssertions *bool `json:"encryptAssertions,omitempty" tf:"encrypt_assertions,omitempty"`

	// If assertions for the client are encrypted, this certificate will be used for encryption.
	EncryptionCertificate *string `json:"encryptionCertificate,omitempty" tf:"encryption_certificate,omitempty"`

	// (Computed) The sha1sum fingerprint of the encryption certificate. If the encryption certificate is not in correct base64 format, this will be left empty.
	EncryptionCertificateSha1 *string `json:"encryptionCertificateSha1,omitempty" tf:"encryption_certificate_sha1,omitempty"`

	// A map of key/value pairs to add extra configuration attributes to this client. Use this attribute at your own risk, as s may conflict with top-level configuration attributes in future provider updates.
	// +mapType=granular
	ExtraConfig map[string]*string `json:"extraConfig,omitempty" tf:"extra_config,omitempty"`

	// Ignore requested NameID subject format and use the one defined in name_id_format instead. Defaults to false.
	ForceNameIDFormat *bool `json:"forceNameIdFormat,omitempty" tf:"force_name_id_format,omitempty"`

	// When true, Keycloak will always respond to an authentication request via the SAML POST Binding. Defaults to true.
	ForcePostBinding *bool `json:"forcePostBinding,omitempty" tf:"force_post_binding,omitempty"`

	// When true, this client will require a browser redirect in order to perform a logout. Defaults to true.
	FrontChannelLogout *bool `json:"frontChannelLogout,omitempty" tf:"front_channel_logout,omitempty"`

	// - Allow to include all roles mappings in the access token
	FullScopeAllowed *bool `json:"fullScopeAllowed,omitempty" tf:"full_scope_allowed,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Relay state you want to send with SAML request when you want to do IDP Initiated SSO.
	IdpInitiatedSsoRelayState *string `json:"idpInitiatedSsoRelayState,omitempty" tf:"idp_initiated_sso_relay_state,omitempty"`

	// URL fragment name to reference client when you want to do IDP Initiated SSO.
	IdpInitiatedSsoURLName *string `json:"idpInitiatedSsoUrlName,omitempty" tf:"idp_initiated_sso_url_name,omitempty"`

	// When true, an AuthnStatement will be included in the SAML response. Defaults to true.
	IncludeAuthnStatement *bool `json:"includeAuthnStatement,omitempty" tf:"include_authn_statement,omitempty"`

	// The login theme of this client.
	LoginTheme *string `json:"loginTheme,omitempty" tf:"login_theme,omitempty"`

	// SAML POST Binding URL for the client's single logout service.
	LogoutServicePostBindingURL *string `json:"logoutServicePostBindingUrl,omitempty" tf:"logout_service_post_binding_url,omitempty"`

	// SAML Redirect Binding URL for the client's single logout service.
	LogoutServiceRedirectBindingURL *string `json:"logoutServiceRedirectBindingUrl,omitempty" tf:"logout_service_redirect_binding_url,omitempty"`

	// When specified, this URL will be used for all SAML requests.
	MasterSAMLProcessingURL *string `json:"masterSamlProcessingUrl,omitempty" tf:"master_saml_processing_url,omitempty"`

	// The display name of this client in the GUI.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Sets the Name ID format for the subject.
	NameIDFormat *string `json:"nameIdFormat,omitempty" tf:"name_id_format,omitempty"`

	// The realm this client is attached to.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// When specified, this value is prepended to all relative URLs.
	RootURL *string `json:"rootUrl,omitempty" tf:"root_url,omitempty"`

	// When true, the SAML assertions will be signed by Keycloak using the realm's private key, and embedded within the SAML XML Auth response. Defaults to false.
	SignAssertions *bool `json:"signAssertions,omitempty" tf:"sign_assertions,omitempty"`

	// When true, the SAML document will be signed by Keycloak using the realm's private key. Defaults to true.
	SignDocuments *bool `json:"signDocuments,omitempty" tf:"sign_documents,omitempty"`

	// The signature algorithm used to sign documents. Should be one of "RSA_SHA1", "RSA_SHA256", "RSA_SHA256_MGF1, "RSA_SHA512", "RSA_SHA512_MGF1" or "DSA_SHA1".
	SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty" tf:"signature_algorithm,omitempty"`

	// The value of the KeyName element within the signed SAML document. Should be one of "NONE", "KEY_ID", or "CERT_SUBJECT". Defaults to "KEY_ID".
	SignatureKeyName *string `json:"signatureKeyName,omitempty" tf:"signature_key_name,omitempty"`

	// If documents or assertions from the client are signed, this certificate will be used to verify the signature.
	SigningCertificate *string `json:"signingCertificate,omitempty" tf:"signing_certificate,omitempty"`

	// (Computed) The sha1sum fingerprint of the signing certificate. If the signing certificate is not in correct base64 format, this will be left empty.
	SigningCertificateSha1 *string `json:"signingCertificateSha1,omitempty" tf:"signing_certificate_sha1,omitempty"`

	// If documents or assertions from the client are signed, this private key will be used to verify the signature.
	SigningPrivateKey *string `json:"signingPrivateKey,omitempty" tf:"signing_private_key,omitempty"`

	// (Computed) The sha1sum fingerprint of the signing private key. If the signing private key is not in correct base64 format, this will be left empty.
	SigningPrivateKeySha1 *string `json:"signingPrivateKeySha1,omitempty" tf:"signing_private_key_sha1,omitempty"`

	// When specified, Keycloak will use this list to validate given Assertion Consumer URLs specified in the authentication request.
	// +listType=set
	ValidRedirectUris []*string `json:"validRedirectUris,omitempty" tf:"valid_redirect_uris,omitempty"`
}

func (*ClientObservation) DeepCopy

func (in *ClientObservation) DeepCopy() *ClientObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientObservation.

func (*ClientObservation) DeepCopyInto

func (in *ClientObservation) DeepCopyInto(out *ClientObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientParameters

type ClientParameters struct {

	// SAML POST Binding URL for the client's assertion consumer service (login responses).
	// +kubebuilder:validation:Optional
	AssertionConsumerPostURL *string `json:"assertionConsumerPostUrl,omitempty" tf:"assertion_consumer_post_url,omitempty"`

	// SAML Redirect Binding URL for the client's assertion consumer service (login responses).
	// +kubebuilder:validation:Optional
	AssertionConsumerRedirectURL *string `json:"assertionConsumerRedirectUrl,omitempty" tf:"assertion_consumer_redirect_url,omitempty"`

	// Override realm authentication flow bindings
	// +kubebuilder:validation:Optional
	AuthenticationFlowBindingOverrides []AuthenticationFlowBindingOverridesParameters `json:"authenticationFlowBindingOverrides,omitempty" tf:"authentication_flow_binding_overrides,omitempty"`

	// When specified, this URL will be used whenever Keycloak needs to link to this client.
	// +kubebuilder:validation:Optional
	BaseURL *string `json:"baseUrl,omitempty" tf:"base_url,omitempty"`

	// The Canonicalization Method for XML signatures. Should be one of "EXCLUSIVE", "EXCLUSIVE_WITH_COMMENTS", "INCLUSIVE", or "INCLUSIVE_WITH_COMMENTS". Defaults to "EXCLUSIVE".
	// +kubebuilder:validation:Optional
	CanonicalizationMethod *string `json:"canonicalizationMethod,omitempty" tf:"canonicalization_method,omitempty"`

	// The unique ID of this client, referenced in the URI during authentication and in issued tokens.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/openidclient/v1alpha1.Client
	// +crossplane:generate:reference:extractor=github.com/crossplane-contrib/provider-keycloak/config/common.UUIDExtractor()
	// +kubebuilder:validation:Optional
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Reference to a Client in openidclient to populate clientId.
	// +kubebuilder:validation:Optional
	ClientIDRef *v1.Reference `json:"clientIdRef,omitempty" tf:"-"`

	// Selector for a Client in openidclient to populate clientId.
	// +kubebuilder:validation:Optional
	ClientIDSelector *v1.Selector `json:"clientIdSelector,omitempty" tf:"-"`

	// When true, Keycloak will expect that documents originating from a client will be signed using the certificate and/or key configured via signing_certificate and signing_private_key. Defaults to true.
	// +kubebuilder:validation:Optional
	ClientSignatureRequired *bool `json:"clientSignatureRequired,omitempty" tf:"client_signature_required,omitempty"`

	// The description of this client in the GUI.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// When false, this client will not be able to initiate a login or obtain access tokens. Defaults to true.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// When true, the SAML assertions will be encrypted by Keycloak using the client's public key. Defaults to false.
	// +kubebuilder:validation:Optional
	EncryptAssertions *bool `json:"encryptAssertions,omitempty" tf:"encrypt_assertions,omitempty"`

	// If assertions for the client are encrypted, this certificate will be used for encryption.
	// +kubebuilder:validation:Optional
	EncryptionCertificate *string `json:"encryptionCertificate,omitempty" tf:"encryption_certificate,omitempty"`

	// A map of key/value pairs to add extra configuration attributes to this client. Use this attribute at your own risk, as s may conflict with top-level configuration attributes in future provider updates.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	ExtraConfig map[string]*string `json:"extraConfig,omitempty" tf:"extra_config,omitempty"`

	// Ignore requested NameID subject format and use the one defined in name_id_format instead. Defaults to false.
	// +kubebuilder:validation:Optional
	ForceNameIDFormat *bool `json:"forceNameIdFormat,omitempty" tf:"force_name_id_format,omitempty"`

	// When true, Keycloak will always respond to an authentication request via the SAML POST Binding. Defaults to true.
	// +kubebuilder:validation:Optional
	ForcePostBinding *bool `json:"forcePostBinding,omitempty" tf:"force_post_binding,omitempty"`

	// When true, this client will require a browser redirect in order to perform a logout. Defaults to true.
	// +kubebuilder:validation:Optional
	FrontChannelLogout *bool `json:"frontChannelLogout,omitempty" tf:"front_channel_logout,omitempty"`

	// - Allow to include all roles mappings in the access token
	// +kubebuilder:validation:Optional
	FullScopeAllowed *bool `json:"fullScopeAllowed,omitempty" tf:"full_scope_allowed,omitempty"`

	// Relay state you want to send with SAML request when you want to do IDP Initiated SSO.
	// +kubebuilder:validation:Optional
	IdpInitiatedSsoRelayState *string `json:"idpInitiatedSsoRelayState,omitempty" tf:"idp_initiated_sso_relay_state,omitempty"`

	// URL fragment name to reference client when you want to do IDP Initiated SSO.
	// +kubebuilder:validation:Optional
	IdpInitiatedSsoURLName *string `json:"idpInitiatedSsoUrlName,omitempty" tf:"idp_initiated_sso_url_name,omitempty"`

	// When true, an AuthnStatement will be included in the SAML response. Defaults to true.
	// +kubebuilder:validation:Optional
	IncludeAuthnStatement *bool `json:"includeAuthnStatement,omitempty" tf:"include_authn_statement,omitempty"`

	// The login theme of this client.
	// +kubebuilder:validation:Optional
	LoginTheme *string `json:"loginTheme,omitempty" tf:"login_theme,omitempty"`

	// SAML POST Binding URL for the client's single logout service.
	// +kubebuilder:validation:Optional
	LogoutServicePostBindingURL *string `json:"logoutServicePostBindingUrl,omitempty" tf:"logout_service_post_binding_url,omitempty"`

	// SAML Redirect Binding URL for the client's single logout service.
	// +kubebuilder:validation:Optional
	LogoutServiceRedirectBindingURL *string `json:"logoutServiceRedirectBindingUrl,omitempty" tf:"logout_service_redirect_binding_url,omitempty"`

	// When specified, this URL will be used for all SAML requests.
	// +kubebuilder:validation:Optional
	MasterSAMLProcessingURL *string `json:"masterSamlProcessingUrl,omitempty" tf:"master_saml_processing_url,omitempty"`

	// The display name of this client in the GUI.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Sets the Name ID format for the subject.
	// +kubebuilder:validation:Optional
	NameIDFormat *string `json:"nameIdFormat,omitempty" tf:"name_id_format,omitempty"`

	// The realm this client is attached to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	// +kubebuilder:validation:Optional
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// Reference to a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDRef *v1.Reference `json:"realmIdRef,omitempty" tf:"-"`

	// Selector for a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDSelector *v1.Selector `json:"realmIdSelector,omitempty" tf:"-"`

	// When specified, this value is prepended to all relative URLs.
	// +kubebuilder:validation:Optional
	RootURL *string `json:"rootUrl,omitempty" tf:"root_url,omitempty"`

	// When true, the SAML assertions will be signed by Keycloak using the realm's private key, and embedded within the SAML XML Auth response. Defaults to false.
	// +kubebuilder:validation:Optional
	SignAssertions *bool `json:"signAssertions,omitempty" tf:"sign_assertions,omitempty"`

	// When true, the SAML document will be signed by Keycloak using the realm's private key. Defaults to true.
	// +kubebuilder:validation:Optional
	SignDocuments *bool `json:"signDocuments,omitempty" tf:"sign_documents,omitempty"`

	// The signature algorithm used to sign documents. Should be one of "RSA_SHA1", "RSA_SHA256", "RSA_SHA256_MGF1, "RSA_SHA512", "RSA_SHA512_MGF1" or "DSA_SHA1".
	// +kubebuilder:validation:Optional
	SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty" tf:"signature_algorithm,omitempty"`

	// The value of the KeyName element within the signed SAML document. Should be one of "NONE", "KEY_ID", or "CERT_SUBJECT". Defaults to "KEY_ID".
	// +kubebuilder:validation:Optional
	SignatureKeyName *string `json:"signatureKeyName,omitempty" tf:"signature_key_name,omitempty"`

	// If documents or assertions from the client are signed, this certificate will be used to verify the signature.
	// +kubebuilder:validation:Optional
	SigningCertificate *string `json:"signingCertificate,omitempty" tf:"signing_certificate,omitempty"`

	// If documents or assertions from the client are signed, this private key will be used to verify the signature.
	// +kubebuilder:validation:Optional
	SigningPrivateKey *string `json:"signingPrivateKey,omitempty" tf:"signing_private_key,omitempty"`

	// When specified, Keycloak will use this list to validate given Assertion Consumer URLs specified in the authentication request.
	// +kubebuilder:validation:Optional
	// +listType=set
	ValidRedirectUris []*string `json:"validRedirectUris,omitempty" tf:"valid_redirect_uris,omitempty"`
}

func (*ClientParameters) DeepCopy

func (in *ClientParameters) DeepCopy() *ClientParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientParameters.

func (*ClientParameters) DeepCopyInto

func (in *ClientParameters) DeepCopyInto(out *ClientParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientScope

type ClientScope struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   ClientScopeSpec   `json:"spec"`
	Status ClientScopeStatus `json:"status,omitempty"`
}

ClientScope is the Schema for the ClientScopes API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,keycloak}

func (*ClientScope) DeepCopy

func (in *ClientScope) DeepCopy() *ClientScope

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientScope.

func (*ClientScope) DeepCopyInto

func (in *ClientScope) DeepCopyInto(out *ClientScope)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClientScope) DeepCopyObject

func (in *ClientScope) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClientScope) GetCondition

func (mg *ClientScope) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ClientScope.

func (*ClientScope) GetConnectionDetailsMapping

func (tr *ClientScope) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ClientScope

func (*ClientScope) GetDeletionPolicy

func (mg *ClientScope) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ClientScope.

func (*ClientScope) GetID

func (tr *ClientScope) GetID() string

GetID returns ID of underlying Terraform resource of this ClientScope

func (*ClientScope) GetInitParameters

func (tr *ClientScope) GetInitParameters() (map[string]any, error)

GetInitParameters of this ClientScope

func (*ClientScope) GetManagementPolicies

func (mg *ClientScope) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ClientScope.

func (*ClientScope) GetMergedParameters

func (tr *ClientScope) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this ClientScope

func (*ClientScope) GetObservation

func (tr *ClientScope) GetObservation() (map[string]any, error)

GetObservation of this ClientScope

func (*ClientScope) GetParameters

func (tr *ClientScope) GetParameters() (map[string]any, error)

GetParameters of this ClientScope

func (*ClientScope) GetProviderConfigReference

func (mg *ClientScope) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ClientScope.

func (*ClientScope) GetPublishConnectionDetailsTo

func (mg *ClientScope) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ClientScope.

func (*ClientScope) GetTerraformResourceType

func (mg *ClientScope) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ClientScope

func (*ClientScope) GetTerraformSchemaVersion

func (tr *ClientScope) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ClientScope) GetWriteConnectionSecretToReference

func (mg *ClientScope) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ClientScope.

func (*ClientScope) Hub

func (tr *ClientScope) Hub()

Hub marks this type as a conversion hub.

func (*ClientScope) LateInitialize

func (tr *ClientScope) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ClientScope using its observed tfState. returns True if there are any spec changes for the resource.

func (*ClientScope) ResolveReferences

func (mg *ClientScope) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this ClientScope.

func (*ClientScope) SetConditions

func (mg *ClientScope) SetConditions(c ...xpv1.Condition)

SetConditions of this ClientScope.

func (*ClientScope) SetDeletionPolicy

func (mg *ClientScope) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ClientScope.

func (*ClientScope) SetManagementPolicies

func (mg *ClientScope) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this ClientScope.

func (*ClientScope) SetObservation

func (tr *ClientScope) SetObservation(obs map[string]any) error

SetObservation for this ClientScope

func (*ClientScope) SetParameters

func (tr *ClientScope) SetParameters(params map[string]any) error

SetParameters for this ClientScope

func (*ClientScope) SetProviderConfigReference

func (mg *ClientScope) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ClientScope.

func (*ClientScope) SetPublishConnectionDetailsTo

func (mg *ClientScope) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ClientScope.

func (*ClientScope) SetWriteConnectionSecretToReference

func (mg *ClientScope) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ClientScope.

type ClientScopeInitParameters

type ClientScopeInitParameters struct {

	// When set, a consent screen will be displayed to users authenticating to clients with this scope attached. The consent screen will display the string value of this attribute.
	ConsentScreenText *string `json:"consentScreenText,omitempty" tf:"consent_screen_text,omitempty"`

	// The description of this client scope in the GUI.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specify order of the client scope in GUI (such as in Consent page) as integer.
	GuiOrder *float64 `json:"guiOrder,omitempty" tf:"gui_order,omitempty"`

	// The display name of this client scope in the GUI.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm this client scope belongs to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// Reference to a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDRef *v1.Reference `json:"realmIdRef,omitempty" tf:"-"`

	// Selector for a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDSelector *v1.Selector `json:"realmIdSelector,omitempty" tf:"-"`
}

func (*ClientScopeInitParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientScopeInitParameters.

func (*ClientScopeInitParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientScopeList

type ClientScopeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClientScope `json:"items"`
}

ClientScopeList contains a list of ClientScopes

func (*ClientScopeList) DeepCopy

func (in *ClientScopeList) DeepCopy() *ClientScopeList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientScopeList.

func (*ClientScopeList) DeepCopyInto

func (in *ClientScopeList) DeepCopyInto(out *ClientScopeList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClientScopeList) DeepCopyObject

func (in *ClientScopeList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ClientScopeList) GetItems

func (l *ClientScopeList) GetItems() []resource.Managed

GetItems of this ClientScopeList.

type ClientScopeObservation

type ClientScopeObservation struct {

	// When set, a consent screen will be displayed to users authenticating to clients with this scope attached. The consent screen will display the string value of this attribute.
	ConsentScreenText *string `json:"consentScreenText,omitempty" tf:"consent_screen_text,omitempty"`

	// The description of this client scope in the GUI.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specify order of the client scope in GUI (such as in Consent page) as integer.
	GuiOrder *float64 `json:"guiOrder,omitempty" tf:"gui_order,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The display name of this client scope in the GUI.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm this client scope belongs to.
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`
}

func (*ClientScopeObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientScopeObservation.

func (*ClientScopeObservation) DeepCopyInto

func (in *ClientScopeObservation) DeepCopyInto(out *ClientScopeObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientScopeParameters

type ClientScopeParameters struct {

	// When set, a consent screen will be displayed to users authenticating to clients with this scope attached. The consent screen will display the string value of this attribute.
	// +kubebuilder:validation:Optional
	ConsentScreenText *string `json:"consentScreenText,omitempty" tf:"consent_screen_text,omitempty"`

	// The description of this client scope in the GUI.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Specify order of the client scope in GUI (such as in Consent page) as integer.
	// +kubebuilder:validation:Optional
	GuiOrder *float64 `json:"guiOrder,omitempty" tf:"gui_order,omitempty"`

	// The display name of this client scope in the GUI.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The realm this client scope belongs to.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/realm/v1alpha1.Realm
	// +kubebuilder:validation:Optional
	RealmID *string `json:"realmId,omitempty" tf:"realm_id,omitempty"`

	// Reference to a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDRef *v1.Reference `json:"realmIdRef,omitempty" tf:"-"`

	// Selector for a Realm in realm to populate realmId.
	// +kubebuilder:validation:Optional
	RealmIDSelector *v1.Selector `json:"realmIdSelector,omitempty" tf:"-"`
}

func (*ClientScopeParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientScopeParameters.

func (*ClientScopeParameters) DeepCopyInto

func (in *ClientScopeParameters) DeepCopyInto(out *ClientScopeParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientScopeSpec

type ClientScopeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClientScopeParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ClientScopeInitParameters `json:"initProvider,omitempty"`
}

ClientScopeSpec defines the desired state of ClientScope

func (*ClientScopeSpec) DeepCopy

func (in *ClientScopeSpec) DeepCopy() *ClientScopeSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientScopeSpec.

func (*ClientScopeSpec) DeepCopyInto

func (in *ClientScopeSpec) DeepCopyInto(out *ClientScopeSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientScopeStatus

type ClientScopeStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ClientScopeObservation `json:"atProvider,omitempty"`
}

ClientScopeStatus defines the observed state of ClientScope.

func (*ClientScopeStatus) DeepCopy

func (in *ClientScopeStatus) DeepCopy() *ClientScopeStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientScopeStatus.

func (*ClientScopeStatus) DeepCopyInto

func (in *ClientScopeStatus) DeepCopyInto(out *ClientScopeStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientSpec

type ClientSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClientParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ClientInitParameters `json:"initProvider,omitempty"`
}

ClientSpec defines the desired state of Client

func (*ClientSpec) DeepCopy

func (in *ClientSpec) DeepCopy() *ClientSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSpec.

func (*ClientSpec) DeepCopyInto

func (in *ClientSpec) DeepCopyInto(out *ClientSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientStatus

type ClientStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ClientObservation `json:"atProvider,omitempty"`
}

ClientStatus defines the observed state of Client.

func (*ClientStatus) DeepCopy

func (in *ClientStatus) DeepCopy() *ClientStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientStatus.

func (*ClientStatus) DeepCopyInto

func (in *ClientStatus) DeepCopyInto(out *ClientStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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