Viewing docs for Zscaler Private Access v1.0.3
published on Wednesday, Jan 21, 2026 by Zscaler
published on Wednesday, Jan 21, 2026 by Zscaler
Viewing docs for Zscaler Private Access v1.0.3
published on Wednesday, Jan 21, 2026 by Zscaler
published on Wednesday, Jan 21, 2026 by Zscaler
The zpa_pra_credential_pool data source to get information about a privileged remote access credential pool created in the Zscaler Private Access cloud.
NOTE: To ensure consistent search results across data sources, please avoid using multiple spaces or special characters in your search queries.
Example Usage
Retrieves PRA Credential Pool By Name
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@bdzscaler/pulumi-zpa";
const _this = zpa.getCredentialPool({
name: "PRACredentialPool01",
});
import pulumi
import pulumi_zpa as zpa
this = zpa.get_credential_pool(name="PRACredentialPool01")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zpa/sdk/go/zpa"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zpa.GetCredentialPool(ctx, &zpa.GetCredentialPoolArgs{
Name: pulumi.StringRef("PRACredentialPool01"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zpa = Pulumi.Zpa;
return await Deployment.RunAsync(() =>
{
var @this = Zpa.GetCredentialPool.Invoke(new()
{
Name = "PRACredentialPool01",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.ZpaFunctions;
import com.pulumi.zpa.inputs.GetCredentialPoolArgs;
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) {
final var this = ZpaFunctions.getCredentialPool(GetCredentialPoolArgs.builder()
.name("PRACredentialPool01")
.build());
}
}
variables:
this:
fn::invoke:
function: zpa:getCredentialPool
arguments:
name: PRACredentialPool01
Retrieves PRA Credential Pool By ID
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@bdzscaler/pulumi-zpa";
const _this = zpa.getCredentialPool({
id: "5458",
});
import pulumi
import pulumi_zpa as zpa
this = zpa.get_credential_pool(id="5458")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zpa/sdk/go/zpa"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zpa.GetCredentialPool(ctx, &zpa.GetCredentialPoolArgs{
Id: pulumi.StringRef("5458"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zpa = Pulumi.Zpa;
return await Deployment.RunAsync(() =>
{
var @this = Zpa.GetCredentialPool.Invoke(new()
{
Id = "5458",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.ZpaFunctions;
import com.pulumi.zpa.inputs.GetCredentialPoolArgs;
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) {
final var this = ZpaFunctions.getCredentialPool(GetCredentialPoolArgs.builder()
.id("5458")
.build());
}
}
variables:
this:
fn::invoke:
function: zpa:getCredentialPool
arguments:
id: '5458'
Using getCredentialPool
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 getCredentialPool(args: GetCredentialPoolArgs, opts?: InvokeOptions): Promise<GetCredentialPoolResult>
function getCredentialPoolOutput(args: GetCredentialPoolOutputArgs, opts?: InvokeOptions): Output<GetCredentialPoolResult>def get_credential_pool(credentials: Optional[Sequence[GetCredentialPoolCredential]] = None,
id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCredentialPoolResult
def get_credential_pool_output(credentials: Optional[pulumi.Input[Sequence[pulumi.Input[GetCredentialPoolCredentialArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCredentialPoolResult]func GetCredentialPool(ctx *Context, args *GetCredentialPoolArgs, opts ...InvokeOption) (*GetCredentialPoolResult, error)
func GetCredentialPoolOutput(ctx *Context, args *GetCredentialPoolOutputArgs, opts ...InvokeOption) GetCredentialPoolResultOutput> Note: This function is named GetCredentialPool in the Go SDK.
public static class GetCredentialPool
{
public static Task<GetCredentialPoolResult> InvokeAsync(GetCredentialPoolArgs args, InvokeOptions? opts = null)
public static Output<GetCredentialPoolResult> Invoke(GetCredentialPoolInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCredentialPoolResult> getCredentialPool(GetCredentialPoolArgs args, InvokeOptions options)
public static Output<GetCredentialPoolResult> getCredentialPool(GetCredentialPoolArgs args, InvokeOptions options)
fn::invoke:
function: zpa:index/getCredentialPool:getCredentialPool
arguments:
# arguments dictionaryThe following arguments are supported:
- Credentials
List<zscaler.
Pulumi Package. Zpa. Inputs. Get Credential Pool Credential> - Id string
- Name string
- (String) The name of the privileged credential.
- Credentials
[]Get
Credential Pool Credential - Id string
- Name string
- (String) The name of the privileged credential.
- credentials
List<Get
Credential Pool Credential> - id String
- name String
- (String) The name of the privileged credential.
- credentials
Get
Credential Pool Credential[] - id string
- name string
- (String) The name of the privileged credential.
- credentials
Sequence[Get
Credential Pool Credential] - id str
- name str
- (String) The name of the privileged credential.
- credentials List<Property Map>
- id String
- name String
- (String) The name of the privileged credential.
getCredentialPool Result
The following output properties are available:
- Creation
Time string - Credential
Mapping stringCount - Credential
Type string - Credentials
List<zscaler.
Pulumi Package. Zpa. Outputs. Get Credential Pool Credential> - Microtenant
Id string - Microtenant
Name string - Modified
By string - Modified
Time string - Id string
- Name string
- (String) The name of the privileged credential.
- Creation
Time string - Credential
Mapping stringCount - Credential
Type string - Credentials
[]Get
Credential Pool Credential - Microtenant
Id string - Microtenant
Name string - Modified
By string - Modified
Time string - Id string
- Name string
- (String) The name of the privileged credential.
- creation
Time String - credential
Mapping StringCount - credential
Type String - credentials
List<Get
Credential Pool Credential> - microtenant
Id String - microtenant
Name String - modified
By String - modified
Time String - id String
- name String
- (String) The name of the privileged credential.
- creation
Time string - credential
Mapping stringCount - credential
Type string - credentials
Get
Credential Pool Credential[] - microtenant
Id string - microtenant
Name string - modified
By string - modified
Time string - id string
- name string
- (String) The name of the privileged credential.
- creation_
time str - credential_
mapping_ strcount - credential_
type str - credentials
Sequence[Get
Credential Pool Credential] - microtenant_
id str - microtenant_
name str - modified_
by str - modified_
time str - id str
- name str
- (String) The name of the privileged credential.
- creation
Time String - credential
Mapping StringCount - credential
Type String - credentials List<Property Map>
- microtenant
Id String - microtenant
Name String - modified
By String - modified
Time String - id String
- name String
- (String) The name of the privileged credential.
Supporting Types
GetCredentialPoolCredential
- Ids List<string>
- Ids []string
- ids List<String>
- ids string[]
- ids Sequence[str]
- ids List<String>
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpaTerraform Provider.
Viewing docs for Zscaler Private Access v1.0.3
published on Wednesday, Jan 21, 2026 by Zscaler
published on Wednesday, Jan 21, 2026 by Zscaler
