Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.NetworkFirewall.getNetworkFirewallPolicyMappedSecrets
Explore with Pulumi AI
This data source provides the list of Network Firewall Policy Mapped Secrets in Oracle Cloud Infrastructure Network Firewall service.
Returns a list of Mapped Secret for the Network Firewall Policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNetworkFirewallPolicyMappedSecrets = oci.NetworkFirewall.getNetworkFirewallPolicyMappedSecrets({
    networkFirewallPolicyId: testNetworkFirewallPolicy.id,
    displayName: networkFirewallPolicyMappedSecretDisplayName,
});
import pulumi
import pulumi_oci as oci
test_network_firewall_policy_mapped_secrets = oci.NetworkFirewall.get_network_firewall_policy_mapped_secrets(network_firewall_policy_id=test_network_firewall_policy["id"],
    display_name=network_firewall_policy_mapped_secret_display_name)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/networkfirewall"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := networkfirewall.GetNetworkFirewallPolicyMappedSecrets(ctx, &networkfirewall.GetNetworkFirewallPolicyMappedSecretsArgs{
			NetworkFirewallPolicyId: testNetworkFirewallPolicy.Id,
			DisplayName:             pulumi.StringRef(networkFirewallPolicyMappedSecretDisplayName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testNetworkFirewallPolicyMappedSecrets = Oci.NetworkFirewall.GetNetworkFirewallPolicyMappedSecrets.Invoke(new()
    {
        NetworkFirewallPolicyId = testNetworkFirewallPolicy.Id,
        DisplayName = networkFirewallPolicyMappedSecretDisplayName,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.NetworkFirewall.NetworkFirewallFunctions;
import com.pulumi.oci.NetworkFirewall.inputs.GetNetworkFirewallPolicyMappedSecretsArgs;
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 testNetworkFirewallPolicyMappedSecrets = NetworkFirewallFunctions.getNetworkFirewallPolicyMappedSecrets(GetNetworkFirewallPolicyMappedSecretsArgs.builder()
            .networkFirewallPolicyId(testNetworkFirewallPolicy.id())
            .displayName(networkFirewallPolicyMappedSecretDisplayName)
            .build());
    }
}
variables:
  testNetworkFirewallPolicyMappedSecrets:
    fn::invoke:
      function: oci:NetworkFirewall:getNetworkFirewallPolicyMappedSecrets
      arguments:
        networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
        displayName: ${networkFirewallPolicyMappedSecretDisplayName}
Using getNetworkFirewallPolicyMappedSecrets
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 getNetworkFirewallPolicyMappedSecrets(args: GetNetworkFirewallPolicyMappedSecretsArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyMappedSecretsResult>
function getNetworkFirewallPolicyMappedSecretsOutput(args: GetNetworkFirewallPolicyMappedSecretsOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyMappedSecretsResult>def get_network_firewall_policy_mapped_secrets(display_name: Optional[str] = None,
                                               network_firewall_policy_id: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyMappedSecretsResult
def get_network_firewall_policy_mapped_secrets_output(display_name: Optional[pulumi.Input[str]] = None,
                                               network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyMappedSecretsResult]func GetNetworkFirewallPolicyMappedSecrets(ctx *Context, args *GetNetworkFirewallPolicyMappedSecretsArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyMappedSecretsResult, error)
func GetNetworkFirewallPolicyMappedSecretsOutput(ctx *Context, args *GetNetworkFirewallPolicyMappedSecretsOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyMappedSecretsResultOutput> Note: This function is named GetNetworkFirewallPolicyMappedSecrets in the Go SDK.
public static class GetNetworkFirewallPolicyMappedSecrets 
{
    public static Task<GetNetworkFirewallPolicyMappedSecretsResult> InvokeAsync(GetNetworkFirewallPolicyMappedSecretsArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkFirewallPolicyMappedSecretsResult> Invoke(GetNetworkFirewallPolicyMappedSecretsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkFirewallPolicyMappedSecretsResult> getNetworkFirewallPolicyMappedSecrets(GetNetworkFirewallPolicyMappedSecretsArgs args, InvokeOptions options)
public static Output<GetNetworkFirewallPolicyMappedSecretsResult> getNetworkFirewallPolicyMappedSecrets(GetNetworkFirewallPolicyMappedSecretsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:NetworkFirewall/getNetworkFirewallPolicyMappedSecrets:getNetworkFirewallPolicyMappedSecrets
  arguments:
    # arguments dictionaryThe following arguments are supported:
- NetworkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- DisplayName string
- A filter to return only resources that match the entire display name given.
- NetworkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- DisplayName string
- A filter to return only resources that match the entire display name given.
- networkFirewall StringPolicy Id 
- Unique Network Firewall Policy identifier
- displayName String
- A filter to return only resources that match the entire display name given.
- networkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- displayName string
- A filter to return only resources that match the entire display name given.
- network_firewall_ strpolicy_ id 
- Unique Network Firewall Policy identifier
- display_name str
- A filter to return only resources that match the entire display name given.
- networkFirewall StringPolicy Id 
- Unique Network Firewall Policy identifier
- displayName String
- A filter to return only resources that match the entire display name given.
getNetworkFirewallPolicyMappedSecrets Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- MappedSecret List<GetSummary Collections Network Firewall Policy Mapped Secrets Mapped Secret Summary Collection> 
- The list of mapped_secret_summary_collection.
- NetworkFirewall stringPolicy Id 
- DisplayName string
- Id string
- The provider-assigned unique ID for this managed resource.
- MappedSecret []GetSummary Collections Network Firewall Policy Mapped Secrets Mapped Secret Summary Collection 
- The list of mapped_secret_summary_collection.
- NetworkFirewall stringPolicy Id 
- DisplayName string
- id String
- The provider-assigned unique ID for this managed resource.
- mappedSecret List<GetSummary Collections Policy Mapped Secrets Mapped Secret Summary Collection> 
- The list of mapped_secret_summary_collection.
- networkFirewall StringPolicy Id 
- displayName String
- id string
- The provider-assigned unique ID for this managed resource.
- mappedSecret GetSummary Collections Network Firewall Policy Mapped Secrets Mapped Secret Summary Collection[] 
- The list of mapped_secret_summary_collection.
- networkFirewall stringPolicy Id 
- displayName string
- id str
- The provider-assigned unique ID for this managed resource.
- mapped_secret_ Sequence[Getsummary_ collections Network Firewall Policy Mapped Secrets Mapped Secret Summary Collection] 
- The list of mapped_secret_summary_collection.
- network_firewall_ strpolicy_ id 
- display_name str
- id String
- The provider-assigned unique ID for this managed resource.
- mappedSecret List<Property Map>Summary Collections 
- The list of mapped_secret_summary_collection.
- networkFirewall StringPolicy Id 
- displayName String
Supporting Types
GetNetworkFirewallPolicyMappedSecretsMappedSecretSummaryCollection         
GetNetworkFirewallPolicyMappedSecretsMappedSecretSummaryCollectionItem          
- Name string
- Name of the secret.
- NetworkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- ParentResource stringId 
- OCID of the Network Firewall Policy this Mapped Secret belongs to.
- Source string
- Source of the secrets, where the secrets are stored.
- Type string
- Type of the secrets mapped based on the policy.- SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
- SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
 
- VaultSecret stringId 
- OCID for the Vault Secret to be used.
- VersionNumber int
- Version number of the secret to be used.
- Name string
- Name of the secret.
- NetworkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- ParentResource stringId 
- OCID of the Network Firewall Policy this Mapped Secret belongs to.
- Source string
- Source of the secrets, where the secrets are stored.
- Type string
- Type of the secrets mapped based on the policy.- SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
- SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
 
- VaultSecret stringId 
- OCID for the Vault Secret to be used.
- VersionNumber int
- Version number of the secret to be used.
- name String
- Name of the secret.
- networkFirewall StringPolicy Id 
- Unique Network Firewall Policy identifier
- parentResource StringId 
- OCID of the Network Firewall Policy this Mapped Secret belongs to.
- source String
- Source of the secrets, where the secrets are stored.
- type String
- Type of the secrets mapped based on the policy.- SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
- SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
 
- vaultSecret StringId 
- OCID for the Vault Secret to be used.
- versionNumber Integer
- Version number of the secret to be used.
- name string
- Name of the secret.
- networkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- parentResource stringId 
- OCID of the Network Firewall Policy this Mapped Secret belongs to.
- source string
- Source of the secrets, where the secrets are stored.
- type string
- Type of the secrets mapped based on the policy.- SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
- SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
 
- vaultSecret stringId 
- OCID for the Vault Secret to be used.
- versionNumber number
- Version number of the secret to be used.
- name str
- Name of the secret.
- network_firewall_ strpolicy_ id 
- Unique Network Firewall Policy identifier
- parent_resource_ strid 
- OCID of the Network Firewall Policy this Mapped Secret belongs to.
- source str
- Source of the secrets, where the secrets are stored.
- type str
- Type of the secrets mapped based on the policy.- SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
- SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
 
- vault_secret_ strid 
- OCID for the Vault Secret to be used.
- version_number int
- Version number of the secret to be used.
- name String
- Name of the secret.
- networkFirewall StringPolicy Id 
- Unique Network Firewall Policy identifier
- parentResource StringId 
- OCID of the Network Firewall Policy this Mapped Secret belongs to.
- source String
- Source of the secrets, where the secrets are stored.
- type String
- Type of the secrets mapped based on the policy.- SSL_INBOUND_INSPECTION: For Inbound inspection of SSL traffic.
- SSL_FORWARD_PROXY: For forward proxy certificates for SSL inspection.
 
- vaultSecret StringId 
- OCID for the Vault Secret to be used.
- versionNumber Number
- Version number of the secret to be used.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.