cc_identity_providers

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 28 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 OktaIdentityProviderDataSource

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

func (*OktaIdentityProviderDataSource) Configure

func (*OktaIdentityProviderDataSource) Metadata

func (*OktaIdentityProviderDataSource) Read

func (*OktaIdentityProviderDataSource) Schema

type OktaIdentityProviderDataSourceModel

type OktaIdentityProviderDataSourceModel struct {
	Id         types.String `tfsdk:"id"`
	Name       types.String `tfsdk:"name"`
	OktaDomain types.String `tfsdk:"okta_domain"`
}

func (OktaIdentityProviderDataSourceModel) GetAttributes

func (OktaIdentityProviderDataSourceModel) GetSchema

func (OktaIdentityProviderDataSourceModel) RefreshPropertyValues

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 OktaIdentityProviderResourceModel

type OktaIdentityProviderResourceModel 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 (OktaIdentityProviderResourceModel) GetAttributes

func (OktaIdentityProviderResourceModel) GetSchema

func (OktaIdentityProviderResourceModel) RefreshPropertyValues

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) GetSchema

type SamlAttributeNameMappingsDataSourceModel

type SamlAttributeNameMappingsDataSourceModel struct {
	UserDisplayName    types.String `tfsdk:"user_display_name"`
	UserGivenName      types.String `tfsdk:"user_given_name"`
	UserFamilyName     types.String `tfsdk:"user_family_name"`
	SecurityIdentifier types.String `tfsdk:"security_identifier"`
	UserPrincipalName  types.String `tfsdk:"user_principal_name"`
	Email              types.String `tfsdk:"email"`
	AdObjectIdentifier types.String `tfsdk:"ad_object_identifier"`
	AdForest           types.String `tfsdk:"ad_forest"`
	AdDomain           types.String `tfsdk:"ad_domain"`
}

func (SamlAttributeNameMappingsDataSourceModel) GetAttributes

func (SamlAttributeNameMappingsDataSourceModel) GetSchema

type SamlIdentityProviderDataSource

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

func (*SamlIdentityProviderDataSource) Configure

func (*SamlIdentityProviderDataSource) Metadata

func (*SamlIdentityProviderDataSource) Read

func (*SamlIdentityProviderDataSource) Schema

type SamlIdentityProviderDataSourceModel

type SamlIdentityProviderDataSourceModel struct {
	Id                              types.String `tfsdk:"id"`
	Name                            types.String `tfsdk:"name"`
	AuthDomainName                  types.String `tfsdk:"auth_domain_name"`
	EntityId                        types.String `tfsdk:"entity_id"`
	UseScopedEntityId               types.Bool   `tfsdk:"use_scoped_entity_id"`
	SignAuthRequest                 types.String `tfsdk:"sign_auth_request"`
	SingleSignOnServiceUrl          types.String `tfsdk:"single_sign_on_service_url"`
	SingleSignOnServiceBinding      types.String `tfsdk:"single_sign_on_service_binding"`
	SamlResponse                    types.String `tfsdk:"saml_response"`
	AuthenticationContext           types.String `tfsdk:"authentication_context"`
	AuthenticationContextComparison types.String `tfsdk:"authentication_context_comparison"`
	LogoutUrl                       types.String `tfsdk:"logout_url"`
	SignLogoutRequest               types.String `tfsdk:"sign_logout_request"`
	LogoutBinding                   types.String `tfsdk:"logout_binding"`
	AttributeNames                  types.Object `tfsdk:"attribute_names"` // SamlAttributeNameMappingsDataSourceModel
	CertCommonName                  types.String `tfsdk:"cert_common_name"`
	CertExpiration                  types.String `tfsdk:"cert_expiration"`
	ScopedEntityIdSuffix            types.String `tfsdk:"scoped_entity_id_suffix"`
}

func (SamlIdentityProviderDataSourceModel) GetResourceAttributes

func (SamlIdentityProviderDataSourceModel) GetResourceAttributes() map[string]schema.Attribute

func (SamlIdentityProviderDataSourceModel) GetSchema

func (SamlIdentityProviderDataSourceModel) RefreshPropertyValues

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

type SamlIdentityProviderResourceModel

type SamlIdentityProviderResourceModel 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 (SamlIdentityProviderResourceModel) GetAttributes

func (SamlIdentityProviderResourceModel) GetSchema

func (SamlIdentityProviderResourceModel) RefreshPropertyValues

Jump to

Keyboard shortcuts

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