1. Packages
  2. Elasticstack Provider
  3. API Docs
  4. ElasticsearchSecuritySystemUser
elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic

elasticstack.ElasticsearchSecuritySystemUser

Explore with Pulumi AI

elasticstack logo
elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as elasticstack from "@pulumi/elasticstack";
    
    const kibanaSystem = new elasticstack.ElasticsearchSecuritySystemUser("kibanaSystem", {
        elasticsearchConnection: {
            endpoints: ["http://localhost:9200"],
            password: "changeme",
            username: "elastic",
        },
        passwordHash: "$2a$10$rMZe6TdsUwBX/TA8vRDz0OLwKAZeCzXM4jT3tfCjpSTB8HoFuq8xO",
        username: "kibana_system",
    });
    
    import pulumi
    import pulumi_elasticstack as elasticstack
    
    kibana_system = elasticstack.ElasticsearchSecuritySystemUser("kibanaSystem",
        elasticsearch_connection={
            "endpoints": ["http://localhost:9200"],
            "password": "changeme",
            "username": "elastic",
        },
        password_hash="$2a$10$rMZe6TdsUwBX/TA8vRDz0OLwKAZeCzXM4jT3tfCjpSTB8HoFuq8xO",
        username="kibana_system")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/elasticstack/elasticstack"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := elasticstack.NewElasticsearchSecuritySystemUser(ctx, "kibanaSystem", &elasticstack.ElasticsearchSecuritySystemUserArgs{
    			ElasticsearchConnection: &elasticstack.ElasticsearchSecuritySystemUserElasticsearchConnectionArgs{
    				Endpoints: pulumi.StringArray{
    					pulumi.String("http://localhost:9200"),
    				},
    				Password: pulumi.String("changeme"),
    				Username: pulumi.String("elastic"),
    			},
    			PasswordHash: pulumi.String("$2a$10$rMZe6TdsUwBX/TA8vRDz0OLwKAZeCzXM4jT3tfCjpSTB8HoFuq8xO"),
    			Username:     pulumi.String("kibana_system"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Elasticstack = Pulumi.Elasticstack;
    
    return await Deployment.RunAsync(() => 
    {
        var kibanaSystem = new Elasticstack.ElasticsearchSecuritySystemUser("kibanaSystem", new()
        {
            ElasticsearchConnection = new Elasticstack.Inputs.ElasticsearchSecuritySystemUserElasticsearchConnectionArgs
            {
                Endpoints = new[]
                {
                    "http://localhost:9200",
                },
                Password = "changeme",
                Username = "elastic",
            },
            PasswordHash = "$2a$10$rMZe6TdsUwBX/TA8vRDz0OLwKAZeCzXM4jT3tfCjpSTB8HoFuq8xO",
            Username = "kibana_system",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.elasticstack.ElasticsearchSecuritySystemUser;
    import com.pulumi.elasticstack.ElasticsearchSecuritySystemUserArgs;
    import com.pulumi.elasticstack.inputs.ElasticsearchSecuritySystemUserElasticsearchConnectionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var kibanaSystem = new ElasticsearchSecuritySystemUser("kibanaSystem", ElasticsearchSecuritySystemUserArgs.builder()
                .elasticsearchConnection(ElasticsearchSecuritySystemUserElasticsearchConnectionArgs.builder()
                    .endpoints("http://localhost:9200")
                    .password("changeme")
                    .username("elastic")
                    .build())
                .passwordHash("$2a$10$rMZe6TdsUwBX/TA8vRDz0OLwKAZeCzXM4jT3tfCjpSTB8HoFuq8xO")
                .username("kibana_system")
                .build());
    
        }
    }
    
    resources:
      kibanaSystem:
        type: elasticstack:ElasticsearchSecuritySystemUser
        properties:
          elasticsearchConnection:
            endpoints:
              - http://localhost:9200
            password: changeme
            username: elastic
          # For details on how to generate the hashed password see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html#security-api-put-user-request-body
          passwordHash: $2a$10$rMZe6TdsUwBX/TA8vRDz0OLwKAZeCzXM4jT3tfCjpSTB8HoFuq8xO
          username: kibana_system
    

    Create ElasticsearchSecuritySystemUser Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ElasticsearchSecuritySystemUser(name: string, args: ElasticsearchSecuritySystemUserArgs, opts?: CustomResourceOptions);
    @overload
    def ElasticsearchSecuritySystemUser(resource_name: str,
                                        args: ElasticsearchSecuritySystemUserArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ElasticsearchSecuritySystemUser(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        username: Optional[str] = None,
                                        elasticsearch_connection: Optional[ElasticsearchSecuritySystemUserElasticsearchConnectionArgs] = None,
                                        enabled: Optional[bool] = None,
                                        password: Optional[str] = None,
                                        password_hash: Optional[str] = None)
    func NewElasticsearchSecuritySystemUser(ctx *Context, name string, args ElasticsearchSecuritySystemUserArgs, opts ...ResourceOption) (*ElasticsearchSecuritySystemUser, error)
    public ElasticsearchSecuritySystemUser(string name, ElasticsearchSecuritySystemUserArgs args, CustomResourceOptions? opts = null)
    public ElasticsearchSecuritySystemUser(String name, ElasticsearchSecuritySystemUserArgs args)
    public ElasticsearchSecuritySystemUser(String name, ElasticsearchSecuritySystemUserArgs args, CustomResourceOptions options)
    
    type: elasticstack:ElasticsearchSecuritySystemUser
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ElasticsearchSecuritySystemUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ElasticsearchSecuritySystemUserArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ElasticsearchSecuritySystemUserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ElasticsearchSecuritySystemUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ElasticsearchSecuritySystemUserArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var elasticsearchSecuritySystemUserResource = new Elasticstack.ElasticsearchSecuritySystemUser("elasticsearchSecuritySystemUserResource", new()
    {
        Username = "string",
        Enabled = false,
        Password = "string",
        PasswordHash = "string",
    });
    
    example, err := elasticstack.NewElasticsearchSecuritySystemUser(ctx, "elasticsearchSecuritySystemUserResource", &elasticstack.ElasticsearchSecuritySystemUserArgs{
    	Username:     pulumi.String("string"),
    	Enabled:      pulumi.Bool(false),
    	Password:     pulumi.String("string"),
    	PasswordHash: pulumi.String("string"),
    })
    
    var elasticsearchSecuritySystemUserResource = new ElasticsearchSecuritySystemUser("elasticsearchSecuritySystemUserResource", ElasticsearchSecuritySystemUserArgs.builder()
        .username("string")
        .enabled(false)
        .password("string")
        .passwordHash("string")
        .build());
    
    elasticsearch_security_system_user_resource = elasticstack.ElasticsearchSecuritySystemUser("elasticsearchSecuritySystemUserResource",
        username="string",
        enabled=False,
        password="string",
        password_hash="string")
    
    const elasticsearchSecuritySystemUserResource = new elasticstack.ElasticsearchSecuritySystemUser("elasticsearchSecuritySystemUserResource", {
        username: "string",
        enabled: false,
        password: "string",
        passwordHash: "string",
    });
    
    type: elasticstack:ElasticsearchSecuritySystemUser
    properties:
        enabled: false
        password: string
        passwordHash: string
        username: string
    

    ElasticsearchSecuritySystemUser Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ElasticsearchSecuritySystemUser resource accepts the following input properties:

    Username string
    An identifier for the system user (see https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html).
    ElasticsearchConnection ElasticsearchSecuritySystemUserElasticsearchConnection
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    Enabled bool
    Specifies whether the user is enabled. The default value is true.
    Password string
    The user’s password. Passwords must be at least 6 characters long.
    PasswordHash string
    A hash of the user’s password. This must be produced using the same hashing algorithm as has been configured for password storage (see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#hashing-settings).
    Username string
    An identifier for the system user (see https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html).
    ElasticsearchConnection ElasticsearchSecuritySystemUserElasticsearchConnectionArgs
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    Enabled bool
    Specifies whether the user is enabled. The default value is true.
    Password string
    The user’s password. Passwords must be at least 6 characters long.
    PasswordHash string
    A hash of the user’s password. This must be produced using the same hashing algorithm as has been configured for password storage (see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#hashing-settings).
    username String
    An identifier for the system user (see https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html).
    elasticsearchConnection ElasticsearchSecuritySystemUserElasticsearchConnection
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    enabled Boolean
    Specifies whether the user is enabled. The default value is true.
    password String
    The user’s password. Passwords must be at least 6 characters long.
    passwordHash String
    A hash of the user’s password. This must be produced using the same hashing algorithm as has been configured for password storage (see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#hashing-settings).
    username string
    An identifier for the system user (see https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html).
    elasticsearchConnection ElasticsearchSecuritySystemUserElasticsearchConnection
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    enabled boolean
    Specifies whether the user is enabled. The default value is true.
    password string
    The user’s password. Passwords must be at least 6 characters long.
    passwordHash string
    A hash of the user’s password. This must be produced using the same hashing algorithm as has been configured for password storage (see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#hashing-settings).
    username str
    An identifier for the system user (see https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html).
    elasticsearch_connection ElasticsearchSecuritySystemUserElasticsearchConnectionArgs
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    enabled bool
    Specifies whether the user is enabled. The default value is true.
    password str
    The user’s password. Passwords must be at least 6 characters long.
    password_hash str
    A hash of the user’s password. This must be produced using the same hashing algorithm as has been configured for password storage (see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#hashing-settings).
    username String
    An identifier for the system user (see https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html).
    elasticsearchConnection Property Map
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    enabled Boolean
    Specifies whether the user is enabled. The default value is true.
    password String
    The user’s password. Passwords must be at least 6 characters long.
    passwordHash String
    A hash of the user’s password. This must be produced using the same hashing algorithm as has been configured for password storage (see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#hashing-settings).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ElasticsearchSecuritySystemUser resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ElasticsearchSecuritySystemUser Resource

    Get an existing ElasticsearchSecuritySystemUser resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ElasticsearchSecuritySystemUserState, opts?: CustomResourceOptions): ElasticsearchSecuritySystemUser
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            elasticsearch_connection: Optional[ElasticsearchSecuritySystemUserElasticsearchConnectionArgs] = None,
            enabled: Optional[bool] = None,
            password: Optional[str] = None,
            password_hash: Optional[str] = None,
            username: Optional[str] = None) -> ElasticsearchSecuritySystemUser
    func GetElasticsearchSecuritySystemUser(ctx *Context, name string, id IDInput, state *ElasticsearchSecuritySystemUserState, opts ...ResourceOption) (*ElasticsearchSecuritySystemUser, error)
    public static ElasticsearchSecuritySystemUser Get(string name, Input<string> id, ElasticsearchSecuritySystemUserState? state, CustomResourceOptions? opts = null)
    public static ElasticsearchSecuritySystemUser get(String name, Output<String> id, ElasticsearchSecuritySystemUserState state, CustomResourceOptions options)
    resources:  _:    type: elasticstack:ElasticsearchSecuritySystemUser    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ElasticsearchConnection ElasticsearchSecuritySystemUserElasticsearchConnection
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    Enabled bool
    Specifies whether the user is enabled. The default value is true.
    Password string
    The user’s password. Passwords must be at least 6 characters long.
    PasswordHash string
    A hash of the user’s password. This must be produced using the same hashing algorithm as has been configured for password storage (see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#hashing-settings).
    Username string
    An identifier for the system user (see https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html).
    ElasticsearchConnection ElasticsearchSecuritySystemUserElasticsearchConnectionArgs
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    Enabled bool
    Specifies whether the user is enabled. The default value is true.
    Password string
    The user’s password. Passwords must be at least 6 characters long.
    PasswordHash string
    A hash of the user’s password. This must be produced using the same hashing algorithm as has been configured for password storage (see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#hashing-settings).
    Username string
    An identifier for the system user (see https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html).
    elasticsearchConnection ElasticsearchSecuritySystemUserElasticsearchConnection
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    enabled Boolean
    Specifies whether the user is enabled. The default value is true.
    password String
    The user’s password. Passwords must be at least 6 characters long.
    passwordHash String
    A hash of the user’s password. This must be produced using the same hashing algorithm as has been configured for password storage (see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#hashing-settings).
    username String
    An identifier for the system user (see https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html).
    elasticsearchConnection ElasticsearchSecuritySystemUserElasticsearchConnection
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    enabled boolean
    Specifies whether the user is enabled. The default value is true.
    password string
    The user’s password. Passwords must be at least 6 characters long.
    passwordHash string
    A hash of the user’s password. This must be produced using the same hashing algorithm as has been configured for password storage (see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#hashing-settings).
    username string
    An identifier for the system user (see https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html).
    elasticsearch_connection ElasticsearchSecuritySystemUserElasticsearchConnectionArgs
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    enabled bool
    Specifies whether the user is enabled. The default value is true.
    password str
    The user’s password. Passwords must be at least 6 characters long.
    password_hash str
    A hash of the user’s password. This must be produced using the same hashing algorithm as has been configured for password storage (see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#hashing-settings).
    username str
    An identifier for the system user (see https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html).
    elasticsearchConnection Property Map
    Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead.

    Deprecated: Deprecated

    enabled Boolean
    Specifies whether the user is enabled. The default value is true.
    password String
    The user’s password. Passwords must be at least 6 characters long.
    passwordHash String
    A hash of the user’s password. This must be produced using the same hashing algorithm as has been configured for password storage (see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#hashing-settings).
    username String
    An identifier for the system user (see https://www.elastic.co/guide/en/elasticsearch/reference/current/built-in-users.html).

    Supporting Types

    ElasticsearchSecuritySystemUserElasticsearchConnection, ElasticsearchSecuritySystemUserElasticsearchConnectionArgs

    ApiKey string
    API Key to use for authentication to Elasticsearch
    BearerToken string
    Bearer Token to use for authentication to Elasticsearch
    CaData string
    PEM-encoded custom Certificate Authority certificate
    CaFile string
    Path to a custom Certificate Authority certificate
    CertData string
    PEM encoded certificate for client auth
    CertFile string
    Path to a file containing the PEM encoded certificate for client auth
    Endpoints List<string>
    EsClientAuthentication string
    ES Client Authentication field to be used with the JWT token
    Insecure bool
    Disable TLS certificate validation
    KeyData string
    PEM encoded private key for client auth
    KeyFile string
    Path to a file containing the PEM encoded private key for client auth
    Password string
    Password to use for API authentication to Elasticsearch.
    Username string
    Username to use for API authentication to Elasticsearch.
    ApiKey string
    API Key to use for authentication to Elasticsearch
    BearerToken string
    Bearer Token to use for authentication to Elasticsearch
    CaData string
    PEM-encoded custom Certificate Authority certificate
    CaFile string
    Path to a custom Certificate Authority certificate
    CertData string
    PEM encoded certificate for client auth
    CertFile string
    Path to a file containing the PEM encoded certificate for client auth
    Endpoints []string
    EsClientAuthentication string
    ES Client Authentication field to be used with the JWT token
    Insecure bool
    Disable TLS certificate validation
    KeyData string
    PEM encoded private key for client auth
    KeyFile string
    Path to a file containing the PEM encoded private key for client auth
    Password string
    Password to use for API authentication to Elasticsearch.
    Username string
    Username to use for API authentication to Elasticsearch.
    apiKey String
    API Key to use for authentication to Elasticsearch
    bearerToken String
    Bearer Token to use for authentication to Elasticsearch
    caData String
    PEM-encoded custom Certificate Authority certificate
    caFile String
    Path to a custom Certificate Authority certificate
    certData String
    PEM encoded certificate for client auth
    certFile String
    Path to a file containing the PEM encoded certificate for client auth
    endpoints List<String>
    esClientAuthentication String
    ES Client Authentication field to be used with the JWT token
    insecure Boolean
    Disable TLS certificate validation
    keyData String
    PEM encoded private key for client auth
    keyFile String
    Path to a file containing the PEM encoded private key for client auth
    password String
    Password to use for API authentication to Elasticsearch.
    username String
    Username to use for API authentication to Elasticsearch.
    apiKey string
    API Key to use for authentication to Elasticsearch
    bearerToken string
    Bearer Token to use for authentication to Elasticsearch
    caData string
    PEM-encoded custom Certificate Authority certificate
    caFile string
    Path to a custom Certificate Authority certificate
    certData string
    PEM encoded certificate for client auth
    certFile string
    Path to a file containing the PEM encoded certificate for client auth
    endpoints string[]
    esClientAuthentication string
    ES Client Authentication field to be used with the JWT token
    insecure boolean
    Disable TLS certificate validation
    keyData string
    PEM encoded private key for client auth
    keyFile string
    Path to a file containing the PEM encoded private key for client auth
    password string
    Password to use for API authentication to Elasticsearch.
    username string
    Username to use for API authentication to Elasticsearch.
    api_key str
    API Key to use for authentication to Elasticsearch
    bearer_token str
    Bearer Token to use for authentication to Elasticsearch
    ca_data str
    PEM-encoded custom Certificate Authority certificate
    ca_file str
    Path to a custom Certificate Authority certificate
    cert_data str
    PEM encoded certificate for client auth
    cert_file str
    Path to a file containing the PEM encoded certificate for client auth
    endpoints Sequence[str]
    es_client_authentication str
    ES Client Authentication field to be used with the JWT token
    insecure bool
    Disable TLS certificate validation
    key_data str
    PEM encoded private key for client auth
    key_file str
    Path to a file containing the PEM encoded private key for client auth
    password str
    Password to use for API authentication to Elasticsearch.
    username str
    Username to use for API authentication to Elasticsearch.
    apiKey String
    API Key to use for authentication to Elasticsearch
    bearerToken String
    Bearer Token to use for authentication to Elasticsearch
    caData String
    PEM-encoded custom Certificate Authority certificate
    caFile String
    Path to a custom Certificate Authority certificate
    certData String
    PEM encoded certificate for client auth
    certFile String
    Path to a file containing the PEM encoded certificate for client auth
    endpoints List<String>
    esClientAuthentication String
    ES Client Authentication field to be used with the JWT token
    insecure Boolean
    Disable TLS certificate validation
    keyData String
    PEM encoded private key for client auth
    keyFile String
    Path to a file containing the PEM encoded private key for client auth
    password String
    Password to use for API authentication to Elasticsearch.
    username String
    Username to use for API authentication to Elasticsearch.

    Package Details

    Repository
    elasticstack elastic/terraform-provider-elasticstack
    License
    Notes
    This Pulumi package is based on the elasticstack Terraform Provider.
    elasticstack logo
    elasticstack 0.11.15 published on Wednesday, Apr 23, 2025 by elastic