resources

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultPrivilegeDefinition = "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects."
View Source
var GrantDefinition = "Manages the privileges on a Materailize %[1]s for roles."
View Source
var SSOConfigSchema = map[string]*schema.Schema{
	"enabled": {
		Type:        schema.TypeBool,
		Required:    true,
		Description: "Whether SSO is enabled or not. If enabled, users will be redirected to the SSO endpoint for authentication. The configuration needs to be valid for SSO to work.",
	},
	"sso_endpoint": {
		Type:        schema.TypeString,
		Required:    true,
		Description: "The URL endpoint for the SSO service. This is the URL that users will be redirected to for authentication. The URL must be accessible from the browser.",
	},
	"public_certificate": {
		Type:        schema.TypeString,
		Required:    true,
		Description: "The public certificate of the SSO service. This is used to verify the SSO response. The certificate must be in PEM format. The certificate must be accessible from the browser. If the certificate is not accessible from the browser, you can use the public certificate of the Identity Provider (IdP) instead.",
	},
	"sign_request": {
		Type:        schema.TypeBool,
		Required:    true,
		Description: "Indicates whether the SSO request needs to be digitally signed.",
	},
	"type": {
		Type:         schema.TypeString,
		Required:     true,
		Description:  "Defines the type of SSO protocol being used (e.g., saml, oidc).",
		ValidateFunc: validation.StringInSlice(ssoConfigTypes, true),
	},
	"oidc_client_id": {
		Type:        schema.TypeString,
		Optional:    true,
		Description: "The client ID of the OIDC application. This is used to identify the application to the OIDC service. This is required if the type is OIDC.",
	},
	"oidc_secret": {
		Type:        schema.TypeString,
		Optional:    true,
		Description: "The client secret of the OIDC application. This is used to authenticate the application to the OIDC service. This is required if the type is OIDC.",
	},
}
View Source
var SSODefaultRolesSchema = map[string]*schema.Schema{
	"sso_config_id": {
		Type:        schema.TypeString,
		Required:    true,
		Description: "The ID of the associated SSO configuration.",
	},
	"roles": {
		Type:        schema.TypeSet,
		Elem:        &schema.Schema{Type: schema.TypeString},
		Required:    true,
		Description: "Set of default role names for the SSO configuration. These roles will be assigned by default to users who sign up via SSO.",
	},
}
View Source
var SSODomainSchema = map[string]*schema.Schema{
	"sso_config_id": {
		Type:        schema.TypeString,
		Required:    true,
		Description: "The ID of the associated SSO configuration.",
	},
	"domain": {
		Type:        schema.TypeString,
		Required:    true,
		Description: "The domain name for the SSO domain configuration. This domain will be used to validate the SSO configuration and needs to be unique across all SSO configurations.",
	},
	"validated": {
		Type:        schema.TypeBool,
		Computed:    true,
		Description: "Indicates whether the domain has been validated.",
	},
}
View Source
var SSORoleGroupMappingSchema = map[string]*schema.Schema{
	"sso_config_id": {
		Type:        schema.TypeString,
		Required:    true,
		Description: "The ID of the associated SSO configuration.",
	},
	"group": {
		Type:        schema.TypeString,
		Required:    true,
		Description: "The name of the SSO group.",
	},
	"roles": {
		Type:        schema.TypeSet,
		Elem:        &schema.Schema{Type: schema.TypeString},
		Required:    true,
		Description: "List of role names associated with the group.",
	},
	"enabled": {
		Type:        schema.TypeBool,
		Computed:    true,
		Description: "Whether the group mapping is enabled.",
	},
}
View Source
var Scim2GroupSchema = map[string]*schema.Schema{
	"name": {
		Type:        schema.TypeString,
		Required:    true,
		Description: "The name of the SCIM group.",
	},
	"description": {
		Type:        schema.TypeString,
		Optional:    true,
		Description: "A description of the SCIM group.",
	},
}
View Source
var ScimGroupRoleSchema = map[string]*schema.Schema{
	"group_id": {
		Type:        schema.TypeString,
		Required:    true,
		Description: "The ID of the SCIM group.",
	},
	"roles": {
		Type:        schema.TypeSet,
		Elem:        &schema.Schema{Type: schema.TypeString},
		Optional:    true,
		Description: "The set of role names to assign to the SCIM group.",
	},
}
View Source
var ScimGroupUsersSchema = map[string]*schema.Schema{
	"group_id": {
		Type:        schema.TypeString,
		Required:    true,
		Description: "The ID of the SCIM group.",
	},
	"users": {
		Type:        schema.TypeSet,
		Elem:        &schema.Schema{Type: schema.TypeString},
		Optional:    true,
		Description: "The set of user IDs to assign to the SCIM group.",
	},
}

Functions

func AppPassword added in v0.5.0

func AppPassword() *schema.Resource

func Cluster

func Cluster() *schema.Resource

func ClusterNameSchema added in v0.1.7

func ClusterNameSchema() *schema.Schema

func ClusterReplica

func ClusterReplica() *schema.Resource

func CommentSchema added in v0.1.13

func CommentSchema(forceNew bool) *schema.Schema

func ConnectionAws added in v0.6.7

func ConnectionAws() *schema.Resource
func ConnectionAwsPrivatelink() *schema.Resource

func ConnectionConfluentSchemaRegistry

func ConnectionConfluentSchemaRegistry() *schema.Resource

func ConnectionKafka

func ConnectionKafka() *schema.Resource

func ConnectionMySQL added in v0.6.7

func ConnectionMySQL() *schema.Resource

func ConnectionPostgres

func ConnectionPostgres() *schema.Resource

func ConnectionSshTunnel

func ConnectionSshTunnel() *schema.Resource

func Database

func Database() *schema.Resource

func DatabaseNameSchema added in v0.0.4

func DatabaseNameSchema(resource string, required bool) *schema.Schema

func DiskSchema added in v0.1.13

func DiskSchema(forceNew bool) *schema.Schema

func FormatSpecSchema

func FormatSpecSchema(elem string, description string, required bool) *schema.Schema

func GrantCluster added in v0.0.9

func GrantCluster() *schema.Resource

func GrantClusterDefaultPrivilege added in v0.1.0

func GrantClusterDefaultPrivilege() *schema.Resource

func GrantConnection added in v0.0.9

func GrantConnection() *schema.Resource

func GrantConnectionDefaultPrivilege added in v0.1.0

func GrantConnectionDefaultPrivilege() *schema.Resource

func GrantDatabase added in v0.0.8

func GrantDatabase() *schema.Resource

func GrantDatabaseDefaultPrivilege added in v0.1.0

func GrantDatabaseDefaultPrivilege() *schema.Resource

func GrantDefaultDatabaseNameSchema added in v0.1.7

func GrantDefaultDatabaseNameSchema() *schema.Schema

func GrantDefaultSchemaNameSchema added in v0.1.7

func GrantDefaultSchemaNameSchema() *schema.Schema

func GrantMaterializedView added in v0.0.9

func GrantMaterializedView() *schema.Resource

func GrantRole added in v0.1.0

func GrantRole() *schema.Resource

func GrantSchema added in v0.0.9

func GrantSchema() *schema.Resource

func GrantSchemaDefaultPrivilege added in v0.1.0

func GrantSchemaDefaultPrivilege() *schema.Resource

func GrantSecret added in v0.0.9

func GrantSecret() *schema.Resource

func GrantSecretDefaultPrivilege added in v0.1.0

func GrantSecretDefaultPrivilege() *schema.Resource

func GrantSource added in v0.0.9

func GrantSource() *schema.Resource

func GrantSystemPrivilege added in v0.1.0

func GrantSystemPrivilege() *schema.Resource

func GrantTable added in v0.0.9

func GrantTable() *schema.Resource

func GrantTableDefaultPrivilege added in v0.1.0

func GrantTableDefaultPrivilege() *schema.Resource

func GrantType added in v0.0.9

func GrantType() *schema.Resource

func GrantTypeDefaultPrivilege added in v0.1.0

func GrantTypeDefaultPrivilege() *schema.Resource

func GrantView added in v0.0.9

func GrantView() *schema.Resource

func GranteeNameSchema added in v0.1.7

func GranteeNameSchema() *schema.Schema

func IdentifierSchema

func IdentifierSchema(params IdentifierSchemaParams) *schema.Schema

func Index

func Index() *schema.Resource

func IntrospectionDebuggingSchema added in v0.1.7

func IntrospectionDebuggingSchema(forceNew bool, requiredWith []string) *schema.Schema

func IntrospectionIntervalSchema added in v0.1.7

func IntrospectionIntervalSchema(forceNew bool, requiredWith []string) *schema.Schema

func MaterializedView

func MaterializedView() *schema.Resource

func ObjectClusterNameSchema added in v0.1.9

func ObjectClusterNameSchema(objectType string) *schema.Schema

func ObjectNameSchema added in v0.1.7

func ObjectNameSchema(resource string, required, forceNew bool) *schema.Schema

func ObjectSizeSchema added in v0.1.9

func ObjectSizeSchema(objectType string) *schema.Schema

func OwnershipRoleSchema added in v0.1.7

func OwnershipRoleSchema() *schema.Schema

func PrivilegeSchema added in v0.1.7

func PrivilegeSchema(objectType string) *schema.Schema

func QualifiedNameSchema added in v0.0.4

func QualifiedNameSchema(resource string) *schema.Schema

func Region added in v0.6.10

func Region() *schema.Resource

func RegionSchema added in v0.5.0

func RegionSchema() *schema.Schema

func Role added in v0.0.4

func Role() *schema.Resource

func RoleNameSchema added in v0.1.7

func RoleNameSchema() *schema.Schema

func RoleParameter added in v0.6.9

func RoleParameter() *schema.Resource

func SCIM2Configuration added in v0.6.1

func SCIM2Configuration() *schema.Resource

func SCIM2Group added in v0.6.10

func SCIM2Group() *schema.Resource

func SCIM2GroupRoles added in v0.6.10

func SCIM2GroupRoles() *schema.Resource

func SCIM2GroupUsers added in v0.6.10

func SCIM2GroupUsers() *schema.Resource

func SSOConfiguration added in v0.6.0

func SSOConfiguration() *schema.Resource

func SSODefaultRoles added in v0.6.0

func SSODefaultRoles() *schema.Resource

func SSODomain added in v0.6.0

func SSODomain() *schema.Resource

func SSORoleGroupMapping added in v0.6.0

func SSORoleGroupMapping() *schema.Resource

func Schema

func Schema() *schema.Resource

func SchemaNameSchema added in v0.0.4

func SchemaNameSchema(resource string, required bool) *schema.Schema

func Secret

func Secret() *schema.Resource

func SinkFormatSpecSchema

func SinkFormatSpecSchema(elem string, description string, required bool) *schema.Schema

func SinkKafka

func SinkKafka() *schema.Resource

func SizeSchema added in v0.0.4

func SizeSchema(resource string, required bool, forceNew bool) *schema.Schema

func SourceKafka

func SourceKafka() *schema.Resource

func SourceLoadgen

func SourceLoadgen() *schema.Resource

func SourceMySQL added in v0.6.7

func SourceMySQL() *schema.Resource

func SourcePostgres

func SourcePostgres() *schema.Resource

func SourceWebhook added in v0.1.8

func SourceWebhook() *schema.Resource

func SystemParameter added in v0.6.4

func SystemParameter() *schema.Resource

func Table

func Table() *schema.Resource

func TargetRoleNameSchema added in v0.1.7

func TargetRoleNameSchema() *schema.Schema

func Type added in v0.0.6

func Type() *schema.Resource

func User added in v0.5.0

func User() *schema.Resource

func ValidateConnectionSchema added in v0.1.7

func ValidateConnectionSchema() *schema.Schema

func ValueSecretSchema

func ValueSecretSchema(elem string, description string, required, forceNew bool) *schema.Schema

func View

func View() *schema.Resource

Types

type DefaultPrivilegeKey added in v0.1.0

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

type GrantPrivilegeKey added in v0.1.0

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

type IdentifierSchemaParams added in v0.6.9

type IdentifierSchemaParams struct {
	Elem        string
	Description string
	Required    bool
	ForceNew    bool
}

type RolePrivilegeKey added in v0.1.0

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

type SSOConfigRolesResponse added in v0.6.0

type SSOConfigRolesResponse struct {
	RoleIds []string `json:"roleIds"`
}

type SystemPrivilegeKey added in v0.1.0

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

Source Files

Jump to

Keyboard shortcuts

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