1. Registry
  2. Packages
  3. stackit
  4. API Docs
  5. getValkeyCredential
Viewing docs for stackit v0.0.8
published on Friday, Oct 16, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.8
published on Friday, Oct 16, 2026 by stackitcloud

    Key Value Store(valkey) credential data source schema. Must have a region specified in the provider configuration.

    Example Usage

    data "stackit_valkey_credential" "example" {
      project_id    = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      instance_id   = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      credential_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getValkeyCredential

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getValkeyCredential(args: GetValkeyCredentialArgs, opts?: InvokeOptions): Promise<GetValkeyCredentialResult>
    function getValkeyCredentialOutput(args: GetValkeyCredentialOutputArgs, opts?: InvokeOutputOptions): Output<GetValkeyCredentialResult>
    def get_valkey_credential(credential_id: Optional[str] = None,
                              instance_id: Optional[str] = None,
                              project_id: Optional[str] = None,
                              region: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetValkeyCredentialResult
    def get_valkey_credential_output(credential_id: pulumi.Input[Optional[str]] = None,
                              instance_id: pulumi.Input[Optional[str]] = None,
                              project_id: pulumi.Input[Optional[str]] = None,
                              region: pulumi.Input[Optional[str]] = None,
                              opts: Optional[InvokeOutputOptions] = None) -> Output[GetValkeyCredentialResult]
    func LookupValkeyCredential(ctx *Context, args *LookupValkeyCredentialArgs, opts ...InvokeOption) (*LookupValkeyCredentialResult, error)
    func LookupValkeyCredentialOutput(ctx *Context, args *LookupValkeyCredentialOutputArgs, opts ...InvokeOption) LookupValkeyCredentialResultOutput

    > Note: This function is named LookupValkeyCredential in the Go SDK.

    public static class GetValkeyCredential 
    {
        public static Task<GetValkeyCredentialResult> InvokeAsync(GetValkeyCredentialArgs args, InvokeOptions? opts = null)
        public static Output<GetValkeyCredentialResult> Invoke(GetValkeyCredentialInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetValkeyCredentialResult> Invoke(GetValkeyCredentialInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetValkeyCredentialResult> getValkeyCredential(GetValkeyCredentialArgs args, InvokeOptions options)
    public static Output<GetValkeyCredentialResult> getValkeyCredential(GetValkeyCredentialArgs args, InvokeOptions options)
    public static Output<GetValkeyCredentialResult> getValkeyCredential(GetValkeyCredentialArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: stackit:index/getValkeyCredential:getValkeyCredential
      arguments:
        # arguments dictionary
    data "stackit_get_valkey_credential" "name" {
        # arguments
    }

    The following arguments are supported:

    CredentialId string
    The credential's ID.
    InstanceId string
    ID of the Valkey instance.
    ProjectId string
    STACKIT project ID to which the instance is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    CredentialId string
    The credential's ID.
    InstanceId string
    ID of the Valkey instance.
    ProjectId string
    STACKIT project ID to which the instance is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    credential_id string
    The credential's ID.
    instance_id string
    ID of the Valkey instance.
    project_id string
    STACKIT project ID to which the instance is associated.
    region string
    The resource region. If not defined, the provider region is used.
    credentialId String
    The credential's ID.
    instanceId String
    ID of the Valkey instance.
    projectId String
    STACKIT project ID to which the instance is associated.
    region String
    The resource region. If not defined, the provider region is used.
    credentialId string
    The credential's ID.
    instanceId string
    ID of the Valkey instance.
    projectId string
    STACKIT project ID to which the instance is associated.
    region string
    The resource region. If not defined, the provider region is used.
    credential_id str
    The credential's ID.
    instance_id str
    ID of the Valkey instance.
    project_id str
    STACKIT project ID to which the instance is associated.
    region str
    The resource region. If not defined, the provider region is used.
    credentialId String
    The credential's ID.
    instanceId String
    ID of the Valkey instance.
    projectId String
    STACKIT project ID to which the instance is associated.
    region String
    The resource region. If not defined, the provider region is used.

    getValkeyCredential Result

    The following output properties are available:

    CredentialId string
    The credential's ID.
    Host string
    Hosts List<string>
    Id string
    Terraform's internal data source. identifier. It is structured as "projectId,region,instanceId,credentialId".
    InstanceId string
    ID of the Valkey instance.
    LoadBalancedHost string
    Password string
    Port int
    ProjectId string
    STACKIT project ID to which the instance is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    Uri string
    Connection URI.
    Username string
    CredentialId string
    The credential's ID.
    Host string
    Hosts []string
    Id string
    Terraform's internal data source. identifier. It is structured as "projectId,region,instanceId,credentialId".
    InstanceId string
    ID of the Valkey instance.
    LoadBalancedHost string
    Password string
    Port int
    ProjectId string
    STACKIT project ID to which the instance is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    Uri string
    Connection URI.
    Username string
    credential_id string
    The credential's ID.
    host string
    hosts list(string)
    id string
    Terraform's internal data source. identifier. It is structured as "projectId,region,instanceId,credentialId".
    instance_id string
    ID of the Valkey instance.
    load_balanced_host string
    password string
    port number
    project_id string
    STACKIT project ID to which the instance is associated.
    region string
    The resource region. If not defined, the provider region is used.
    uri string
    Connection URI.
    username string
    credentialId String
    The credential's ID.
    host String
    hosts List<String>
    id String
    Terraform's internal data source. identifier. It is structured as "projectId,region,instanceId,credentialId".
    instanceId String
    ID of the Valkey instance.
    loadBalancedHost String
    password String
    port Integer
    projectId String
    STACKIT project ID to which the instance is associated.
    region String
    The resource region. If not defined, the provider region is used.
    uri String
    Connection URI.
    username String
    credentialId string
    The credential's ID.
    host string
    hosts string[]
    id string
    Terraform's internal data source. identifier. It is structured as "projectId,region,instanceId,credentialId".
    instanceId string
    ID of the Valkey instance.
    loadBalancedHost string
    password string
    port number
    projectId string
    STACKIT project ID to which the instance is associated.
    region string
    The resource region. If not defined, the provider region is used.
    uri string
    Connection URI.
    username string
    credential_id str
    The credential's ID.
    host str
    hosts Sequence[str]
    id str
    Terraform's internal data source. identifier. It is structured as "projectId,region,instanceId,credentialId".
    instance_id str
    ID of the Valkey instance.
    load_balanced_host str
    password str
    port int
    project_id str
    STACKIT project ID to which the instance is associated.
    region str
    The resource region. If not defined, the provider region is used.
    uri str
    Connection URI.
    username str
    credentialId String
    The credential's ID.
    host String
    hosts List<String>
    id String
    Terraform's internal data source. identifier. It is structured as "projectId,region,instanceId,credentialId".
    instanceId String
    ID of the Valkey instance.
    loadBalancedHost String
    password String
    port Number
    projectId String
    STACKIT project ID to which the instance is associated.
    region String
    The resource region. If not defined, the provider region is used.
    uri String
    Connection URI.
    username String

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.8
    published on Friday, Oct 16, 2026 by stackitcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial