cc_identity_providers

package
v1.0.8 Latest Latest
Warning

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

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

Documentation

Overview

Copyright © 2024. Citrix Systems, Inc.

Copyright © 2024. Citrix Systems, Inc.

Copyright © 2024. Citrix Systems, Inc.

Copyright © 2024. Citrix Systems, Inc.

Copyright © 2024. Citrix Systems, Inc.

Copyright © 2024. Citrix Systems, Inc.

Copyright © 2024. Citrix Systems, Inc.

Copyright © 2024. Citrix Systems, Inc.

Copyright © 2024. Citrix Systems, Inc.

Copyright © 2024. Citrix Systems, Inc.

Copyright © 2024. Citrix Systems, Inc.

Copyright © 2024. Citrix Systems, Inc.

Copyright © 2024. Citrix Systems, Inc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGoogleIdentityProviderDataSource added in v1.0.4

func NewGoogleIdentityProviderDataSource() datasource.DataSource

func NewGoogleIdentityProviderResource added in v1.0.4

func NewGoogleIdentityProviderResource() resource.Resource

NewGoogleIdentityProviderResource is a helper function to simplify the provider implementation.

func NewOktaIdentityProviderDataSource

func NewOktaIdentityProviderDataSource() datasource.DataSource

func NewOktaIdentityProviderResource

func NewOktaIdentityProviderResource() resource.Resource

NewOktaIdentityProviderResource is a helper function to simplify the provider implementation.

func NewSamlIdentityProviderDataSource

func NewSamlIdentityProviderDataSource() datasource.DataSource

func NewSamlIdentityProviderResource

func NewSamlIdentityProviderResource() resource.Resource

SamlIdentityProviderResource is a helper function to simplify the provider implementation.

Types

type GoogleIdentityProviderDataSource added in v1.0.4

type GoogleIdentityProviderDataSource struct {
	// contains filtered or unexported fields
}

func (*GoogleIdentityProviderDataSource) Configure added in v1.0.4

func (*GoogleIdentityProviderDataSource) Metadata added in v1.0.4

func (*GoogleIdentityProviderDataSource) Read added in v1.0.4

func (*GoogleIdentityProviderDataSource) Schema added in v1.0.4

type GoogleIdentityProviderDataSourceModel added in v1.0.4

type GoogleIdentityProviderDataSourceModel struct {
	Id               types.String `tfsdk:"id"`
	Name             types.String `tfsdk:"name"`
	AuthDomainName   types.String `tfsdk:"auth_domain_name"`
	GoogleCustomerId types.String `tfsdk:"google_customer_id"`
	GoogleDomain     types.String `tfsdk:"google_domain"`
}

func (GoogleIdentityProviderDataSourceModel) GetAttributes added in v1.0.4

func (GoogleIdentityProviderDataSourceModel) GetSchema added in v1.0.4

func (GoogleIdentityProviderDataSourceModel) RefreshPropertyValues added in v1.0.4

type GoogleIdentityProviderResource added in v1.0.4

type GoogleIdentityProviderResource struct {
	// contains filtered or unexported fields
}

GoogleIdentityProviderResource is the resource implementation.

func (*GoogleIdentityProviderResource) Configure added in v1.0.4

Configure adds the provider configured client to the resource.

func (*GoogleIdentityProviderResource) Create added in v1.0.4

Create creates the resource and sets the initial Terraform state.

func (*GoogleIdentityProviderResource) Delete added in v1.0.4

Delete deletes the resource and removes the Terraform state on success.

func (*GoogleIdentityProviderResource) ImportState added in v1.0.4

func (*GoogleIdentityProviderResource) Metadata added in v1.0.4

Metadata returns the resource type name.

func (*GoogleIdentityProviderResource) ModifyPlan added in v1.0.4

Resource Location is a cloud concept which is not supported for on-prem environment

func (*GoogleIdentityProviderResource) Read added in v1.0.4

Read refreshes the Terraform state with the latest data.

func (*GoogleIdentityProviderResource) Schema added in v1.0.4

Schema defines the schema for the resource.

func (*GoogleIdentityProviderResource) Update added in v1.0.4

Update updates the resource and sets the updated Terraform state on success.

func (*GoogleIdentityProviderResource) ValidateConfig added in v1.0.4

type GoogleIdentityProviderResourceModel added in v1.0.4

type GoogleIdentityProviderResourceModel struct {
	Id               types.String `tfsdk:"id"`
	Name             types.String `tfsdk:"name"`
	AuthDomainName   types.String `tfsdk:"auth_domain_name"`
	ClientEmail      types.String `tfsdk:"client_email"`
	PrivateKey       types.String `tfsdk:"private_key"`
	ImpersonatedUser types.String `tfsdk:"impersonated_user"`
	GoogleCustomerId types.String `tfsdk:"google_customer_id"`
	GoogleDomain     types.String `tfsdk:"google_domain"`
}

func (GoogleIdentityProviderResourceModel) GetAttributes added in v1.0.4

func (GoogleIdentityProviderResourceModel) GetSchema added in v1.0.4

func (GoogleIdentityProviderResourceModel) RefreshIdAndNameValues added in v1.0.4

func (GoogleIdentityProviderResourceModel) RefreshPropertyValues added in v1.0.4

type OktaIdentityProviderDataSource

type OktaIdentityProviderDataSource struct {
	// contains filtered or unexported fields
}

func (*OktaIdentityProviderDataSource) Configure

func (*OktaIdentityProviderDataSource) Metadata

func (*OktaIdentityProviderDataSource) Read

func (*OktaIdentityProviderDataSource) Schema

type OktaIdentityProviderModel added in v1.0.7

type OktaIdentityProviderModel struct {
	Id               types.String `tfsdk:"id"`
	Name             types.String `tfsdk:"name"`
	OktaDomain       types.String `tfsdk:"okta_domain"`
	OktaClientId     types.String `tfsdk:"okta_client_id"`
	OktaClientSecret types.String `tfsdk:"okta_client_secret"`
	OktaApiToken     types.String `tfsdk:"okta_api_token"`
}

func (OktaIdentityProviderModel) GetAttributes added in v1.0.7

func (OktaIdentityProviderModel) GetAttributes() map[string]schema.Attribute

func (OktaIdentityProviderModel) GetDataSourceAttributes added in v1.0.7

func (OktaIdentityProviderModel) GetDataSourceAttributes() map[string]schema.Attribute

func (OktaIdentityProviderModel) GetDataSourceSchema added in v1.0.7

func (OktaIdentityProviderModel) GetDataSourceSchema() schema.Schema

func (OktaIdentityProviderModel) GetSchema added in v1.0.7

func (OktaIdentityProviderModel) RefreshPropertyValues added in v1.0.7

func (r OktaIdentityProviderModel) RefreshPropertyValues(isResource bool, oktaIdp *citrixcws.IdpStatusModel) OktaIdentityProviderModel

type OktaIdentityProviderResource

type OktaIdentityProviderResource struct {
	// contains filtered or unexported fields
}

OktaIdentityProviderResource is the resource implementation.

func (*OktaIdentityProviderResource) Configure

Configure adds the provider configured client to the resource.

func (*OktaIdentityProviderResource) Create

Create creates the resource and sets the initial Terraform state.

func (*OktaIdentityProviderResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*OktaIdentityProviderResource) ImportState

func (*OktaIdentityProviderResource) Metadata

Metadata returns the resource type name.

func (*OktaIdentityProviderResource) ModifyPlan

Resource Location is a cloud concept which is not supported for on-prem environment

func (*OktaIdentityProviderResource) Read

Read refreshes the Terraform state with the latest data.

func (*OktaIdentityProviderResource) Schema

Schema defines the schema for the resource.

func (*OktaIdentityProviderResource) Update

Update updates the resource and sets the updated Terraform state on success.

func (*OktaIdentityProviderResource) ValidateConfig

type SamlAttributeNameMappings

type SamlAttributeNameMappings struct {
	UserDisplayName    types.String `tfsdk:"user_display_name"`    // Optional, Computed, Defaults to `displayName`
	UserGivenName      types.String `tfsdk:"user_given_name"`      // Optional, Computed, Defaults to `givenName`
	UserFamilyName     types.String `tfsdk:"user_family_name"`     // Optional, Computed, Defaults to `familyName`
	SecurityIdentifier types.String `tfsdk:"security_identifier"`  // Requires one of `security_identifier` or `user_principal_name`, defaults to `cip_sid`
	UserPrincipalName  types.String `tfsdk:"user_principal_name"`  // Requires one of `security_identifier` or `user_principal_name`, defaults to `cip_upn`
	Email              types.String `tfsdk:"email"`                // Optional, Computed, Defaults to `cip_email`
	AdObjectIdentifier types.String `tfsdk:"ad_object_identifier"` // Optional, Computed, Defaults to `cip_oid`
	AdForest           types.String `tfsdk:"ad_forest"`            // Optional, Computed, Defaults to `cip_forest`
	AdDomain           types.String `tfsdk:"ad_domain"`            // Optional, Computed, Defaults to `cip_domain`
}

func (SamlAttributeNameMappings) GetAttributes

func (SamlAttributeNameMappings) GetAttributes() map[string]schema.Attribute

func (SamlAttributeNameMappings) GetDataSourceAttributes added in v1.0.7

func (SamlAttributeNameMappings) GetDataSourceAttributes() map[string]schema.Attribute

func (SamlAttributeNameMappings) GetDataSourceSchema added in v1.0.7

func (SamlAttributeNameMappings) GetSchema

type SamlIdentityProviderDataSource

type SamlIdentityProviderDataSource struct {
	// contains filtered or unexported fields
}

func (*SamlIdentityProviderDataSource) Configure

func (*SamlIdentityProviderDataSource) Metadata

func (*SamlIdentityProviderDataSource) Read

func (*SamlIdentityProviderDataSource) Schema

type SamlIdentityProviderModel added in v1.0.7

type SamlIdentityProviderModel struct {
	Id             types.String `tfsdk:"id"`
	Name           types.String `tfsdk:"name"`
	AuthDomainName types.String `tfsdk:"auth_domain_name"`

	EntityId                        types.String `tfsdk:"entity_id"`                         // Required
	UseScopedEntityId               types.Bool   `tfsdk:"use_scoped_entity_id"`              // Optional, defaults to false
	SignAuthRequest                 types.String `tfsdk:"sign_auth_request"`                 // Required
	SingleSignOnServiceUrl          types.String `tfsdk:"single_sign_on_service_url"`        // Required
	SingleSignOnServiceBinding      types.String `tfsdk:"single_sign_on_service_binding"`    // Required
	SamlResponse                    types.String `tfsdk:"saml_response"`                     // Required
	CertFilePath                    types.String `tfsdk:"cert_file_path"`                    // Required
	AuthenticationContext           types.String `tfsdk:"authentication_context"`            // Required
	AuthenticationContextComparison types.String `tfsdk:"authentication_context_comparison"` // Required
	LogoutUrl                       types.String `tfsdk:"logout_url"`                        // Optional, defaults to empty string
	SignLogoutRequest               types.String `tfsdk:"sign_logout_request"`               // Required if LogoutUrl is provided
	LogoutBinding                   types.String `tfsdk:"logout_binding"`                    // Required if LogoutUrl is provided

	AttributeNames types.Object `tfsdk:"attribute_names"` // Required SamlAttributeNameMappings

	// Computed
	CertCommonName       types.String `tfsdk:"cert_common_name"`
	CertExpiration       types.String `tfsdk:"cert_expiration"`
	ScopedEntityIdSuffix types.String `tfsdk:"scoped_entity_id_suffix"`
}

func (SamlIdentityProviderModel) GetAttributes added in v1.0.7

func (SamlIdentityProviderModel) GetAttributes() map[string]schema.Attribute

func (SamlIdentityProviderModel) GetDataSourceAttributes added in v1.0.7

func (SamlIdentityProviderModel) GetDataSourceAttributes() map[string]schema.Attribute

func (SamlIdentityProviderModel) GetDataSourceSchema added in v1.0.7

func (SamlIdentityProviderModel) GetDataSourceSchema() schema.Schema

func (SamlIdentityProviderModel) GetSchema added in v1.0.7

func (SamlIdentityProviderModel) RefreshPropertyValues added in v1.0.7

func (r SamlIdentityProviderModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, isResource bool, samlIdp *citrixcws.IdpStatusModel, samlConfig *citrixcws.SamlConfigModel) SamlIdentityProviderModel

type SamlIdentityProviderResource

type SamlIdentityProviderResource struct {
	// contains filtered or unexported fields
}

SamlIdentityProviderResource is the resource implementation.

func (*SamlIdentityProviderResource) Configure

Configure adds the provider configured client to the resource.

func (*SamlIdentityProviderResource) Create

Create creates the resource and sets the initial Terraform state.

func (*SamlIdentityProviderResource) Delete

Delete deletes the resource and removes the Terraform state on success.

func (*SamlIdentityProviderResource) ImportState

func (*SamlIdentityProviderResource) Metadata

Metadata returns the resource type name.

func (*SamlIdentityProviderResource) ModifyPlan

Resource Location is a cloud concept which is not supported for on-prem environment

func (*SamlIdentityProviderResource) Read

Read refreshes the Terraform state with the latest data.

func (*SamlIdentityProviderResource) Schema

Schema defines the schema for the resource.

func (*SamlIdentityProviderResource) Update

Update updates the resource and sets the updated Terraform state on success.

func (*SamlIdentityProviderResource) ValidateConfig

Jump to

Keyboard shortcuts

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