1. Packages
  2. Cyral Provider
  3. API Docs
  4. IntegrationHcVault
cyral 4.16.3 published on Monday, Apr 14, 2025 by cyralinc

cyral.IntegrationHcVault

Explore with Pulumi AI

cyral logo
cyral 4.16.3 published on Monday, Apr 14, 2025 by cyralinc

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cyral from "@pulumi/cyral";
    
    const someResourceName = new cyral.IntegrationHcVault("someResourceName", {
        authMethod: "",
        authType: "",
        server: "",
    });
    
    import pulumi
    import pulumi_cyral as cyral
    
    some_resource_name = cyral.IntegrationHcVault("someResourceName",
        auth_method="",
        auth_type="",
        server="")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/cyral/v4/cyral"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cyral.NewIntegrationHcVault(ctx, "someResourceName", &cyral.IntegrationHcVaultArgs{
    			AuthMethod: pulumi.String(""),
    			AuthType:   pulumi.String(""),
    			Server:     pulumi.String(""),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cyral = Pulumi.Cyral;
    
    return await Deployment.RunAsync(() => 
    {
        var someResourceName = new Cyral.IntegrationHcVault("someResourceName", new()
        {
            AuthMethod = "",
            AuthType = "",
            Server = "",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cyral.IntegrationHcVault;
    import com.pulumi.cyral.IntegrationHcVaultArgs;
    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 someResourceName = new IntegrationHcVault("someResourceName", IntegrationHcVaultArgs.builder()
                .authMethod("")
                .authType("")
                .server("")
                .build());
    
        }
    }
    
    resources:
      someResourceName:
        type: cyral:IntegrationHcVault
        properties:
          authMethod: ""
          authType: ""
          server: ""
    

    Create IntegrationHcVault Resource

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

    Constructor syntax

    new IntegrationHcVault(name: string, args: IntegrationHcVaultArgs, opts?: CustomResourceOptions);
    @overload
    def IntegrationHcVault(resource_name: str,
                           args: IntegrationHcVaultArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def IntegrationHcVault(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           auth_method: Optional[str] = None,
                           auth_type: Optional[str] = None,
                           server: Optional[str] = None,
                           name: Optional[str] = None)
    func NewIntegrationHcVault(ctx *Context, name string, args IntegrationHcVaultArgs, opts ...ResourceOption) (*IntegrationHcVault, error)
    public IntegrationHcVault(string name, IntegrationHcVaultArgs args, CustomResourceOptions? opts = null)
    public IntegrationHcVault(String name, IntegrationHcVaultArgs args)
    public IntegrationHcVault(String name, IntegrationHcVaultArgs args, CustomResourceOptions options)
    
    type: cyral:IntegrationHcVault
    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 IntegrationHcVaultArgs
    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 IntegrationHcVaultArgs
    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 IntegrationHcVaultArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationHcVaultArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IntegrationHcVaultArgs
    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 integrationHcVaultResource = new Cyral.IntegrationHcVault("integrationHcVaultResource", new()
    {
        AuthMethod = "string",
        AuthType = "string",
        Server = "string",
        Name = "string",
    });
    
    example, err := cyral.NewIntegrationHcVault(ctx, "integrationHcVaultResource", &cyral.IntegrationHcVaultArgs{
    	AuthMethod: pulumi.String("string"),
    	AuthType:   pulumi.String("string"),
    	Server:     pulumi.String("string"),
    	Name:       pulumi.String("string"),
    })
    
    var integrationHcVaultResource = new IntegrationHcVault("integrationHcVaultResource", IntegrationHcVaultArgs.builder()
        .authMethod("string")
        .authType("string")
        .server("string")
        .name("string")
        .build());
    
    integration_hc_vault_resource = cyral.IntegrationHcVault("integrationHcVaultResource",
        auth_method="string",
        auth_type="string",
        server="string",
        name="string")
    
    const integrationHcVaultResource = new cyral.IntegrationHcVault("integrationHcVaultResource", {
        authMethod: "string",
        authType: "string",
        server: "string",
        name: "string",
    });
    
    type: cyral:IntegrationHcVault
    properties:
        authMethod: string
        authType: string
        name: string
        server: string
    

    IntegrationHcVault 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 IntegrationHcVault resource accepts the following input properties:

    AuthMethod string
    Authentication method for the integration.
    AuthType string
    Authentication type for the integration.
    Server string
    Server on which the vault service is running.
    Name string
    Integration name that will be used internally in the control plane.
    AuthMethod string
    Authentication method for the integration.
    AuthType string
    Authentication type for the integration.
    Server string
    Server on which the vault service is running.
    Name string
    Integration name that will be used internally in the control plane.
    authMethod String
    Authentication method for the integration.
    authType String
    Authentication type for the integration.
    server String
    Server on which the vault service is running.
    name String
    Integration name that will be used internally in the control plane.
    authMethod string
    Authentication method for the integration.
    authType string
    Authentication type for the integration.
    server string
    Server on which the vault service is running.
    name string
    Integration name that will be used internally in the control plane.
    auth_method str
    Authentication method for the integration.
    auth_type str
    Authentication type for the integration.
    server str
    Server on which the vault service is running.
    name str
    Integration name that will be used internally in the control plane.
    authMethod String
    Authentication method for the integration.
    authType String
    Authentication type for the integration.
    server String
    Server on which the vault service is running.
    name String
    Integration name that will be used internally in the control plane.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IntegrationHcVault 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 IntegrationHcVault Resource

    Get an existing IntegrationHcVault 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?: IntegrationHcVaultState, opts?: CustomResourceOptions): IntegrationHcVault
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth_method: Optional[str] = None,
            auth_type: Optional[str] = None,
            name: Optional[str] = None,
            server: Optional[str] = None) -> IntegrationHcVault
    func GetIntegrationHcVault(ctx *Context, name string, id IDInput, state *IntegrationHcVaultState, opts ...ResourceOption) (*IntegrationHcVault, error)
    public static IntegrationHcVault Get(string name, Input<string> id, IntegrationHcVaultState? state, CustomResourceOptions? opts = null)
    public static IntegrationHcVault get(String name, Output<String> id, IntegrationHcVaultState state, CustomResourceOptions options)
    resources:  _:    type: cyral:IntegrationHcVault    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:
    AuthMethod string
    Authentication method for the integration.
    AuthType string
    Authentication type for the integration.
    Name string
    Integration name that will be used internally in the control plane.
    Server string
    Server on which the vault service is running.
    AuthMethod string
    Authentication method for the integration.
    AuthType string
    Authentication type for the integration.
    Name string
    Integration name that will be used internally in the control plane.
    Server string
    Server on which the vault service is running.
    authMethod String
    Authentication method for the integration.
    authType String
    Authentication type for the integration.
    name String
    Integration name that will be used internally in the control plane.
    server String
    Server on which the vault service is running.
    authMethod string
    Authentication method for the integration.
    authType string
    Authentication type for the integration.
    name string
    Integration name that will be used internally in the control plane.
    server string
    Server on which the vault service is running.
    auth_method str
    Authentication method for the integration.
    auth_type str
    Authentication type for the integration.
    name str
    Integration name that will be used internally in the control plane.
    server str
    Server on which the vault service is running.
    authMethod String
    Authentication method for the integration.
    authType String
    Authentication type for the integration.
    name String
    Integration name that will be used internally in the control plane.
    server String
    Server on which the vault service is running.

    Package Details

    Repository
    cyral cyralinc/terraform-provider-cyral
    License
    Notes
    This Pulumi package is based on the cyral Terraform Provider.
    cyral logo
    cyral 4.16.3 published on Monday, Apr 14, 2025 by cyralinc