1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getTrafficForwardingVPNCredentials
Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler

zia.getTrafficForwardingVPNCredentials

Explore with Pulumi AI

zia logo
Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler

    Use the zia_traffic_forwarding_vpn_credentials data source to get information about VPN credentials that can be associated to locations. VPN is one way to route traffic from customer locations to the cloud. Site-to-Site IPSec VPN credentials can be identified by the cloud through one of the following methods:

    • Common Name (CN) of IPSec Certificate
    • VPN User FQDN - requires VPN_SITE_TO_SITE subscription
    • VPN IP Address - requires VPN_SITE_TO_SITE subscription
    • Extended Authentication (XAUTH) or hosted mobile UserID - requires VPN_MOBILE subscription

    Example Usage

    # ZIA Traffic Forwarding - VPN Credentials of Type FQDN
    data "zia_traffic_forwarding_vpn_credentials" "example"{
        fqdn = "sjc-1-37@acme.com"
    }
    
    # ZIA Traffic Forwarding - VPN Credentials of Type IP
    data "zia_traffic_forwarding_vpn_credentials" "example"{
        ip_address = "1.1.1.1"
    }
    

    Using getTrafficForwardingVPNCredentials

    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 getTrafficForwardingVPNCredentials(args: GetTrafficForwardingVPNCredentialsArgs, opts?: InvokeOptions): Promise<GetTrafficForwardingVPNCredentialsResult>
    function getTrafficForwardingVPNCredentialsOutput(args: GetTrafficForwardingVPNCredentialsOutputArgs, opts?: InvokeOptions): Output<GetTrafficForwardingVPNCredentialsResult>
    def get_traffic_forwarding_vpn_credentials(fqdn: Optional[str] = None,
                                               id: Optional[int] = None,
                                               ip_address: Optional[str] = None,
                                               type: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetTrafficForwardingVPNCredentialsResult
    def get_traffic_forwarding_vpn_credentials_output(fqdn: Optional[pulumi.Input[str]] = None,
                                               id: Optional[pulumi.Input[int]] = None,
                                               ip_address: Optional[pulumi.Input[str]] = None,
                                               type: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetTrafficForwardingVPNCredentialsResult]
    func LookupTrafficForwardingVPNCredentials(ctx *Context, args *LookupTrafficForwardingVPNCredentialsArgs, opts ...InvokeOption) (*LookupTrafficForwardingVPNCredentialsResult, error)
    func LookupTrafficForwardingVPNCredentialsOutput(ctx *Context, args *LookupTrafficForwardingVPNCredentialsOutputArgs, opts ...InvokeOption) LookupTrafficForwardingVPNCredentialsResultOutput

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

    public static class GetTrafficForwardingVPNCredentials 
    {
        public static Task<GetTrafficForwardingVPNCredentialsResult> InvokeAsync(GetTrafficForwardingVPNCredentialsArgs args, InvokeOptions? opts = null)
        public static Output<GetTrafficForwardingVPNCredentialsResult> Invoke(GetTrafficForwardingVPNCredentialsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTrafficForwardingVPNCredentialsResult> getTrafficForwardingVPNCredentials(GetTrafficForwardingVPNCredentialsArgs args, InvokeOptions options)
    public static Output<GetTrafficForwardingVPNCredentialsResult> getTrafficForwardingVPNCredentials(GetTrafficForwardingVPNCredentialsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: zia:index/getTrafficForwardingVPNCredentials:getTrafficForwardingVPNCredentials
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Fqdn string
    (String) Fully Qualified Domain Name. Applicable only to UFQDN or XAUTH (or HOSTED_MOBILE_USERS) auth type.
    Id int
    Unique identifer of the GRE virtual IP address (VIP)
    IpAddress string
    Filter based on an IP address range.
    Type string
    (String) VPN authentication type (i.e., how the VPN credential is sent to the server). It is not modifiable after VpnCredential is created.
    Fqdn string
    (String) Fully Qualified Domain Name. Applicable only to UFQDN or XAUTH (or HOSTED_MOBILE_USERS) auth type.
    Id int
    Unique identifer of the GRE virtual IP address (VIP)
    IpAddress string
    Filter based on an IP address range.
    Type string
    (String) VPN authentication type (i.e., how the VPN credential is sent to the server). It is not modifiable after VpnCredential is created.
    fqdn String
    (String) Fully Qualified Domain Name. Applicable only to UFQDN or XAUTH (or HOSTED_MOBILE_USERS) auth type.
    id Integer
    Unique identifer of the GRE virtual IP address (VIP)
    ipAddress String
    Filter based on an IP address range.
    type String
    (String) VPN authentication type (i.e., how the VPN credential is sent to the server). It is not modifiable after VpnCredential is created.
    fqdn string
    (String) Fully Qualified Domain Name. Applicable only to UFQDN or XAUTH (or HOSTED_MOBILE_USERS) auth type.
    id number
    Unique identifer of the GRE virtual IP address (VIP)
    ipAddress string
    Filter based on an IP address range.
    type string
    (String) VPN authentication type (i.e., how the VPN credential is sent to the server). It is not modifiable after VpnCredential is created.
    fqdn str
    (String) Fully Qualified Domain Name. Applicable only to UFQDN or XAUTH (or HOSTED_MOBILE_USERS) auth type.
    id int
    Unique identifer of the GRE virtual IP address (VIP)
    ip_address str
    Filter based on an IP address range.
    type str
    (String) VPN authentication type (i.e., how the VPN credential is sent to the server). It is not modifiable after VpnCredential is created.
    fqdn String
    (String) Fully Qualified Domain Name. Applicable only to UFQDN or XAUTH (or HOSTED_MOBILE_USERS) auth type.
    id Number
    Unique identifer of the GRE virtual IP address (VIP)
    ipAddress String
    Filter based on an IP address range.
    type String
    (String) VPN authentication type (i.e., how the VPN credential is sent to the server). It is not modifiable after VpnCredential is created.

    getTrafficForwardingVPNCredentials Result

    The following output properties are available:

    Comments string
    (String) Additional information about this VPN credential.
    Id int
    (Number) Identifier that uniquely identifies an entity
    Locations List<zscaler.PulumiPackage.Zia.Outputs.GetTrafficForwardingVPNCredentialsLocation>
    (Set of Object) Location that is associated to this VPN credential. Non-existence means not associated to any location.
    ManagedBies List<zscaler.PulumiPackage.Zia.Outputs.GetTrafficForwardingVPNCredentialsManagedBy>
    (Set of Object) SD-WAN Partner that manages the location. If a partner does not manage the locaton, this is set to Self.
    PreSharedKey string
    (String) Pre-shared key. This is a required field for UFQDN and IP auth type.
    Type string
    (String) VPN authentication type (i.e., how the VPN credential is sent to the server). It is not modifiable after VpnCredential is created.
    Fqdn string
    (String) Fully Qualified Domain Name. Applicable only to UFQDN or XAUTH (or HOSTED_MOBILE_USERS) auth type.
    IpAddress string
    Comments string
    (String) Additional information about this VPN credential.
    Id int
    (Number) Identifier that uniquely identifies an entity
    Locations []GetTrafficForwardingVPNCredentialsLocation
    (Set of Object) Location that is associated to this VPN credential. Non-existence means not associated to any location.
    ManagedBies []GetTrafficForwardingVPNCredentialsManagedBy
    (Set of Object) SD-WAN Partner that manages the location. If a partner does not manage the locaton, this is set to Self.
    PreSharedKey string
    (String) Pre-shared key. This is a required field for UFQDN and IP auth type.
    Type string
    (String) VPN authentication type (i.e., how the VPN credential is sent to the server). It is not modifiable after VpnCredential is created.
    Fqdn string
    (String) Fully Qualified Domain Name. Applicable only to UFQDN or XAUTH (or HOSTED_MOBILE_USERS) auth type.
    IpAddress string
    comments String
    (String) Additional information about this VPN credential.
    id Integer
    (Number) Identifier that uniquely identifies an entity
    locations List<GetTrafficForwardingVPNCredentialsLocation>
    (Set of Object) Location that is associated to this VPN credential. Non-existence means not associated to any location.
    managedBies List<GetTrafficForwardingVPNCredentialsManagedBy>
    (Set of Object) SD-WAN Partner that manages the location. If a partner does not manage the locaton, this is set to Self.
    preSharedKey String
    (String) Pre-shared key. This is a required field for UFQDN and IP auth type.
    type String
    (String) VPN authentication type (i.e., how the VPN credential is sent to the server). It is not modifiable after VpnCredential is created.
    fqdn String
    (String) Fully Qualified Domain Name. Applicable only to UFQDN or XAUTH (or HOSTED_MOBILE_USERS) auth type.
    ipAddress String
    comments string
    (String) Additional information about this VPN credential.
    id number
    (Number) Identifier that uniquely identifies an entity
    locations GetTrafficForwardingVPNCredentialsLocation[]
    (Set of Object) Location that is associated to this VPN credential. Non-existence means not associated to any location.
    managedBies GetTrafficForwardingVPNCredentialsManagedBy[]
    (Set of Object) SD-WAN Partner that manages the location. If a partner does not manage the locaton, this is set to Self.
    preSharedKey string
    (String) Pre-shared key. This is a required field for UFQDN and IP auth type.
    type string
    (String) VPN authentication type (i.e., how the VPN credential is sent to the server). It is not modifiable after VpnCredential is created.
    fqdn string
    (String) Fully Qualified Domain Name. Applicable only to UFQDN or XAUTH (or HOSTED_MOBILE_USERS) auth type.
    ipAddress string
    comments str
    (String) Additional information about this VPN credential.
    id int
    (Number) Identifier that uniquely identifies an entity
    locations Sequence[GetTrafficForwardingVPNCredentialsLocation]
    (Set of Object) Location that is associated to this VPN credential. Non-existence means not associated to any location.
    managed_bies Sequence[GetTrafficForwardingVPNCredentialsManagedBy]
    (Set of Object) SD-WAN Partner that manages the location. If a partner does not manage the locaton, this is set to Self.
    pre_shared_key str
    (String) Pre-shared key. This is a required field for UFQDN and IP auth type.
    type str
    (String) VPN authentication type (i.e., how the VPN credential is sent to the server). It is not modifiable after VpnCredential is created.
    fqdn str
    (String) Fully Qualified Domain Name. Applicable only to UFQDN or XAUTH (or HOSTED_MOBILE_USERS) auth type.
    ip_address str
    comments String
    (String) Additional information about this VPN credential.
    id Number
    (Number) Identifier that uniquely identifies an entity
    locations List<Property Map>
    (Set of Object) Location that is associated to this VPN credential. Non-existence means not associated to any location.
    managedBies List<Property Map>
    (Set of Object) SD-WAN Partner that manages the location. If a partner does not manage the locaton, this is set to Self.
    preSharedKey String
    (String) Pre-shared key. This is a required field for UFQDN and IP auth type.
    type String
    (String) VPN authentication type (i.e., how the VPN credential is sent to the server). It is not modifiable after VpnCredential is created.
    fqdn String
    (String) Fully Qualified Domain Name. Applicable only to UFQDN or XAUTH (or HOSTED_MOBILE_USERS) auth type.
    ipAddress String

    Supporting Types

    GetTrafficForwardingVPNCredentialsLocation

    Extensions Dictionary<string, string>
    (Map of String)
    Id int
    Unique identifer of the GRE virtual IP address (VIP)
    Name string
    (String) The configured name of the entity
    Extensions map[string]string
    (Map of String)
    Id int
    Unique identifer of the GRE virtual IP address (VIP)
    Name string
    (String) The configured name of the entity
    extensions Map<String,String>
    (Map of String)
    id Integer
    Unique identifer of the GRE virtual IP address (VIP)
    name String
    (String) The configured name of the entity
    extensions {[key: string]: string}
    (Map of String)
    id number
    Unique identifer of the GRE virtual IP address (VIP)
    name string
    (String) The configured name of the entity
    extensions Mapping[str, str]
    (Map of String)
    id int
    Unique identifer of the GRE virtual IP address (VIP)
    name str
    (String) The configured name of the entity
    extensions Map<String>
    (Map of String)
    id Number
    Unique identifer of the GRE virtual IP address (VIP)
    name String
    (String) The configured name of the entity

    GetTrafficForwardingVPNCredentialsManagedBy

    Extensions Dictionary<string, string>
    (Map of String)
    Id int
    Unique identifer of the GRE virtual IP address (VIP)
    Name string
    (String) The configured name of the entity
    Extensions map[string]string
    (Map of String)
    Id int
    Unique identifer of the GRE virtual IP address (VIP)
    Name string
    (String) The configured name of the entity
    extensions Map<String,String>
    (Map of String)
    id Integer
    Unique identifer of the GRE virtual IP address (VIP)
    name String
    (String) The configured name of the entity
    extensions {[key: string]: string}
    (Map of String)
    id number
    Unique identifer of the GRE virtual IP address (VIP)
    name string
    (String) The configured name of the entity
    extensions Mapping[str, str]
    (Map of String)
    id int
    Unique identifer of the GRE virtual IP address (VIP)
    name str
    (String) The configured name of the entity
    extensions Map<String>
    (Map of String)
    id Number
    Unique identifer of the GRE virtual IP address (VIP)
    name String
    (String) The configured name of the entity

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    MIT
    Notes
    This Pulumi package is based on the zia Terraform Provider.
    zia logo
    Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler