1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectFirewallAccessproxyServerpubkeyauthsettings
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.ObjectFirewallAccessproxyServerpubkeyauthsettings

Explore with Pulumi AI

Server SSH public key authentication settings.

This resource is a sub resource for variable server_pubkey_auth_settings of resource fortimanager.ObjectFirewallAccessproxy. Conflict and overwrite may occur if use both of them. The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • cert_extension: fortimanager_object_firewall_accessproxy_serverpubkeyauthsettings_certextension

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trnameObjectFirewallAccessproxy = new fortimanager.ObjectFirewallAccessproxy("trnameObjectFirewallAccessproxy", {});
const trnameObjectFirewallAccessproxyServerpubkeyauthsettings = new fortimanager.ObjectFirewallAccessproxyServerpubkeyauthsettings("trnameObjectFirewallAccessproxyServerpubkeyauthsettings", {
    accessProxy: trnameObjectFirewallAccessproxy.name,
    permitAgentForwarding: "enable",
    permitPortForwarding: "disable",
}, {
    dependsOn: [trnameObjectFirewallAccessproxy],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_firewall_accessproxy = fortimanager.ObjectFirewallAccessproxy("trnameObjectFirewallAccessproxy")
trname_object_firewall_accessproxy_serverpubkeyauthsettings = fortimanager.ObjectFirewallAccessproxyServerpubkeyauthsettings("trnameObjectFirewallAccessproxyServerpubkeyauthsettings",
    access_proxy=trname_object_firewall_accessproxy.name,
    permit_agent_forwarding="enable",
    permit_port_forwarding="disable",
    opts = pulumi.ResourceOptions(depends_on=[trname_object_firewall_accessproxy]))
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		trnameObjectFirewallAccessproxy, err := fortimanager.NewObjectFirewallAccessproxy(ctx, "trnameObjectFirewallAccessproxy", nil)
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectFirewallAccessproxyServerpubkeyauthsettings(ctx, "trnameObjectFirewallAccessproxyServerpubkeyauthsettings", &fortimanager.ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs{
			AccessProxy:           trnameObjectFirewallAccessproxy.Name,
			PermitAgentForwarding: pulumi.String("enable"),
			PermitPortForwarding:  pulumi.String("disable"),
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectFirewallAccessproxy,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trnameObjectFirewallAccessproxy = new Fortimanager.ObjectFirewallAccessproxy("trnameObjectFirewallAccessproxy");

    var trnameObjectFirewallAccessproxyServerpubkeyauthsettings = new Fortimanager.ObjectFirewallAccessproxyServerpubkeyauthsettings("trnameObjectFirewallAccessproxyServerpubkeyauthsettings", new()
    {
        AccessProxy = trnameObjectFirewallAccessproxy.Name,
        PermitAgentForwarding = "enable",
        PermitPortForwarding = "disable",
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectFirewallAccessproxy,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectFirewallAccessproxy;
import com.pulumi.fortimanager.ObjectFirewallAccessproxyServerpubkeyauthsettings;
import com.pulumi.fortimanager.ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs;
import com.pulumi.resources.CustomResourceOptions;
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 trnameObjectFirewallAccessproxy = new ObjectFirewallAccessproxy("trnameObjectFirewallAccessproxy");

        var trnameObjectFirewallAccessproxyServerpubkeyauthsettings = new ObjectFirewallAccessproxyServerpubkeyauthsettings("trnameObjectFirewallAccessproxyServerpubkeyauthsettings", ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs.builder()
            .accessProxy(trnameObjectFirewallAccessproxy.name())
            .permitAgentForwarding("enable")
            .permitPortForwarding("disable")
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectFirewallAccessproxy)
                .build());

    }
}
Copy
resources:
  trnameObjectFirewallAccessproxyServerpubkeyauthsettings:
    type: fortimanager:ObjectFirewallAccessproxyServerpubkeyauthsettings
    properties:
      accessProxy: ${trnameObjectFirewallAccessproxy.name}
      permitAgentForwarding: enable
      permitPortForwarding: disable
    options:
      dependsOn:
        - ${trnameObjectFirewallAccessproxy}
  trnameObjectFirewallAccessproxy:
    type: fortimanager:ObjectFirewallAccessproxy
Copy

Create ObjectFirewallAccessproxyServerpubkeyauthsettings Resource

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

Constructor syntax

new ObjectFirewallAccessproxyServerpubkeyauthsettings(name: string, args: ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs, opts?: CustomResourceOptions);
@overload
def ObjectFirewallAccessproxyServerpubkeyauthsettings(resource_name: str,
                                                      args: ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs,
                                                      opts: Optional[ResourceOptions] = None)

@overload
def ObjectFirewallAccessproxyServerpubkeyauthsettings(resource_name: str,
                                                      opts: Optional[ResourceOptions] = None,
                                                      access_proxy: Optional[str] = None,
                                                      adom: Optional[str] = None,
                                                      auth_ca: Optional[str] = None,
                                                      cert_extensions: Optional[Sequence[ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtensionArgs]] = None,
                                                      dynamic_sort_subtable: Optional[str] = None,
                                                      object_firewall_accessproxy_serverpubkeyauthsettings_id: Optional[str] = None,
                                                      permit_agent_forwarding: Optional[str] = None,
                                                      permit_port_forwarding: Optional[str] = None,
                                                      permit_pty: Optional[str] = None,
                                                      permit_user_rc: Optional[str] = None,
                                                      permit_x11_forwarding: Optional[str] = None,
                                                      scopetype: Optional[str] = None,
                                                      source_address: Optional[str] = None)
func NewObjectFirewallAccessproxyServerpubkeyauthsettings(ctx *Context, name string, args ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs, opts ...ResourceOption) (*ObjectFirewallAccessproxyServerpubkeyauthsettings, error)
public ObjectFirewallAccessproxyServerpubkeyauthsettings(string name, ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs args, CustomResourceOptions? opts = null)
public ObjectFirewallAccessproxyServerpubkeyauthsettings(String name, ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs args)
public ObjectFirewallAccessproxyServerpubkeyauthsettings(String name, ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallAccessproxyServerpubkeyauthsettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs
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 objectFirewallAccessproxyServerpubkeyauthsettingsResource = new Fortimanager.ObjectFirewallAccessproxyServerpubkeyauthsettings("objectFirewallAccessproxyServerpubkeyauthsettingsResource", new()
{
    AccessProxy = "string",
    Adom = "string",
    AuthCa = "string",
    CertExtensions = new[]
    {
        new Fortimanager.Inputs.ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtensionArgs
        {
            Critical = "string",
            Data = "string",
            Name = "string",
            Type = "string",
        },
    },
    DynamicSortSubtable = "string",
    ObjectFirewallAccessproxyServerpubkeyauthsettingsId = "string",
    PermitAgentForwarding = "string",
    PermitPortForwarding = "string",
    PermitPty = "string",
    PermitUserRc = "string",
    PermitX11Forwarding = "string",
    Scopetype = "string",
    SourceAddress = "string",
});
Copy
example, err := fortimanager.NewObjectFirewallAccessproxyServerpubkeyauthsettings(ctx, "objectFirewallAccessproxyServerpubkeyauthsettingsResource", &fortimanager.ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs{
AccessProxy: pulumi.String("string"),
Adom: pulumi.String("string"),
AuthCa: pulumi.String("string"),
CertExtensions: .ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtensionArray{
&.ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtensionArgs{
Critical: pulumi.String("string"),
Data: pulumi.String("string"),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
DynamicSortSubtable: pulumi.String("string"),
ObjectFirewallAccessproxyServerpubkeyauthsettingsId: pulumi.String("string"),
PermitAgentForwarding: pulumi.String("string"),
PermitPortForwarding: pulumi.String("string"),
PermitPty: pulumi.String("string"),
PermitUserRc: pulumi.String("string"),
PermitX11Forwarding: pulumi.String("string"),
Scopetype: pulumi.String("string"),
SourceAddress: pulumi.String("string"),
})
Copy
var objectFirewallAccessproxyServerpubkeyauthsettingsResource = new ObjectFirewallAccessproxyServerpubkeyauthsettings("objectFirewallAccessproxyServerpubkeyauthsettingsResource", ObjectFirewallAccessproxyServerpubkeyauthsettingsArgs.builder()
    .accessProxy("string")
    .adom("string")
    .authCa("string")
    .certExtensions(ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtensionArgs.builder()
        .critical("string")
        .data("string")
        .name("string")
        .type("string")
        .build())
    .dynamicSortSubtable("string")
    .objectFirewallAccessproxyServerpubkeyauthsettingsId("string")
    .permitAgentForwarding("string")
    .permitPortForwarding("string")
    .permitPty("string")
    .permitUserRc("string")
    .permitX11Forwarding("string")
    .scopetype("string")
    .sourceAddress("string")
    .build());
Copy
object_firewall_accessproxy_serverpubkeyauthsettings_resource = fortimanager.ObjectFirewallAccessproxyServerpubkeyauthsettings("objectFirewallAccessproxyServerpubkeyauthsettingsResource",
    access_proxy="string",
    adom="string",
    auth_ca="string",
    cert_extensions=[{
        "critical": "string",
        "data": "string",
        "name": "string",
        "type": "string",
    }],
    dynamic_sort_subtable="string",
    object_firewall_accessproxy_serverpubkeyauthsettings_id="string",
    permit_agent_forwarding="string",
    permit_port_forwarding="string",
    permit_pty="string",
    permit_user_rc="string",
    permit_x11_forwarding="string",
    scopetype="string",
    source_address="string")
Copy
const objectFirewallAccessproxyServerpubkeyauthsettingsResource = new fortimanager.ObjectFirewallAccessproxyServerpubkeyauthsettings("objectFirewallAccessproxyServerpubkeyauthsettingsResource", {
    accessProxy: "string",
    adom: "string",
    authCa: "string",
    certExtensions: [{
        critical: "string",
        data: "string",
        name: "string",
        type: "string",
    }],
    dynamicSortSubtable: "string",
    objectFirewallAccessproxyServerpubkeyauthsettingsId: "string",
    permitAgentForwarding: "string",
    permitPortForwarding: "string",
    permitPty: "string",
    permitUserRc: "string",
    permitX11Forwarding: "string",
    scopetype: "string",
    sourceAddress: "string",
});
Copy
type: fortimanager:ObjectFirewallAccessproxyServerpubkeyauthsettings
properties:
    accessProxy: string
    adom: string
    authCa: string
    certExtensions:
        - critical: string
          data: string
          name: string
          type: string
    dynamicSortSubtable: string
    objectFirewallAccessproxyServerpubkeyauthsettingsId: string
    permitAgentForwarding: string
    permitPortForwarding: string
    permitPty: string
    permitUserRc: string
    permitX11Forwarding: string
    scopetype: string
    sourceAddress: string
Copy

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

AccessProxy This property is required. string
Access Proxy.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AuthCa string
Name of the SSH server public key authentication CA.
CertExtensions List<ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtension>
Cert-Extension. The structure of cert_extension block is documented below.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
ObjectFirewallAccessproxyServerpubkeyauthsettingsId string
an identifier for the resource.
PermitAgentForwarding string
Enable/disable appending permit-agent-forwarding certificate extension. Valid values: disable, enable.
PermitPortForwarding string
Enable/disable appending permit-port-forwarding certificate extension. Valid values: disable, enable.
PermitPty string
Enable/disable appending permit-pty certificate extension. Valid values: disable, enable.
PermitUserRc string
Enable/disable appending permit-user-rc certificate extension. Valid values: disable, enable.
PermitX11Forwarding string
Enable/disable appending permit-x11-forwarding certificate extension. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SourceAddress string
Enable/disable appending source-address certificate critical option. This option ensure certificate only accepted from FortiGate source address. Valid values: disable, enable.
AccessProxy This property is required. string
Access Proxy.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AuthCa string
Name of the SSH server public key authentication CA.
CertExtensions []ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtensionArgs
Cert-Extension. The structure of cert_extension block is documented below.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
ObjectFirewallAccessproxyServerpubkeyauthsettingsId string
an identifier for the resource.
PermitAgentForwarding string
Enable/disable appending permit-agent-forwarding certificate extension. Valid values: disable, enable.
PermitPortForwarding string
Enable/disable appending permit-port-forwarding certificate extension. Valid values: disable, enable.
PermitPty string
Enable/disable appending permit-pty certificate extension. Valid values: disable, enable.
PermitUserRc string
Enable/disable appending permit-user-rc certificate extension. Valid values: disable, enable.
PermitX11Forwarding string
Enable/disable appending permit-x11-forwarding certificate extension. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SourceAddress string
Enable/disable appending source-address certificate critical option. This option ensure certificate only accepted from FortiGate source address. Valid values: disable, enable.
accessProxy This property is required. String
Access Proxy.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authCa String
Name of the SSH server public key authentication CA.
certExtensions List<ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtension>
Cert-Extension. The structure of cert_extension block is documented below.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
objectFirewallAccessproxyServerpubkeyauthsettingsId String
an identifier for the resource.
permitAgentForwarding String
Enable/disable appending permit-agent-forwarding certificate extension. Valid values: disable, enable.
permitPortForwarding String
Enable/disable appending permit-port-forwarding certificate extension. Valid values: disable, enable.
permitPty String
Enable/disable appending permit-pty certificate extension. Valid values: disable, enable.
permitUserRc String
Enable/disable appending permit-user-rc certificate extension. Valid values: disable, enable.
permitX11Forwarding String
Enable/disable appending permit-x11-forwarding certificate extension. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sourceAddress String
Enable/disable appending source-address certificate critical option. This option ensure certificate only accepted from FortiGate source address. Valid values: disable, enable.
accessProxy This property is required. string
Access Proxy.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authCa string
Name of the SSH server public key authentication CA.
certExtensions ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtension[]
Cert-Extension. The structure of cert_extension block is documented below.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
objectFirewallAccessproxyServerpubkeyauthsettingsId string
an identifier for the resource.
permitAgentForwarding string
Enable/disable appending permit-agent-forwarding certificate extension. Valid values: disable, enable.
permitPortForwarding string
Enable/disable appending permit-port-forwarding certificate extension. Valid values: disable, enable.
permitPty string
Enable/disable appending permit-pty certificate extension. Valid values: disable, enable.
permitUserRc string
Enable/disable appending permit-user-rc certificate extension. Valid values: disable, enable.
permitX11Forwarding string
Enable/disable appending permit-x11-forwarding certificate extension. Valid values: disable, enable.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sourceAddress string
Enable/disable appending source-address certificate critical option. This option ensure certificate only accepted from FortiGate source address. Valid values: disable, enable.
access_proxy This property is required. str
Access Proxy.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
auth_ca str
Name of the SSH server public key authentication CA.
cert_extensions Sequence[ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtensionArgs]
Cert-Extension. The structure of cert_extension block is documented below.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
object_firewall_accessproxy_serverpubkeyauthsettings_id str
an identifier for the resource.
permit_agent_forwarding str
Enable/disable appending permit-agent-forwarding certificate extension. Valid values: disable, enable.
permit_port_forwarding str
Enable/disable appending permit-port-forwarding certificate extension. Valid values: disable, enable.
permit_pty str
Enable/disable appending permit-pty certificate extension. Valid values: disable, enable.
permit_user_rc str
Enable/disable appending permit-user-rc certificate extension. Valid values: disable, enable.
permit_x11_forwarding str
Enable/disable appending permit-x11-forwarding certificate extension. Valid values: disable, enable.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
source_address str
Enable/disable appending source-address certificate critical option. This option ensure certificate only accepted from FortiGate source address. Valid values: disable, enable.
accessProxy This property is required. String
Access Proxy.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authCa String
Name of the SSH server public key authentication CA.
certExtensions List<Property Map>
Cert-Extension. The structure of cert_extension block is documented below.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
objectFirewallAccessproxyServerpubkeyauthsettingsId String
an identifier for the resource.
permitAgentForwarding String
Enable/disable appending permit-agent-forwarding certificate extension. Valid values: disable, enable.
permitPortForwarding String
Enable/disable appending permit-port-forwarding certificate extension. Valid values: disable, enable.
permitPty String
Enable/disable appending permit-pty certificate extension. Valid values: disable, enable.
permitUserRc String
Enable/disable appending permit-user-rc certificate extension. Valid values: disable, enable.
permitX11Forwarding String
Enable/disable appending permit-x11-forwarding certificate extension. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sourceAddress String
Enable/disable appending source-address certificate critical option. This option ensure certificate only accepted from FortiGate source address. Valid values: disable, enable.

Outputs

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

Get an existing ObjectFirewallAccessproxyServerpubkeyauthsettings 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?: ObjectFirewallAccessproxyServerpubkeyauthsettingsState, opts?: CustomResourceOptions): ObjectFirewallAccessproxyServerpubkeyauthsettings
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        access_proxy: Optional[str] = None,
        adom: Optional[str] = None,
        auth_ca: Optional[str] = None,
        cert_extensions: Optional[Sequence[ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtensionArgs]] = None,
        dynamic_sort_subtable: Optional[str] = None,
        object_firewall_accessproxy_serverpubkeyauthsettings_id: Optional[str] = None,
        permit_agent_forwarding: Optional[str] = None,
        permit_port_forwarding: Optional[str] = None,
        permit_pty: Optional[str] = None,
        permit_user_rc: Optional[str] = None,
        permit_x11_forwarding: Optional[str] = None,
        scopetype: Optional[str] = None,
        source_address: Optional[str] = None) -> ObjectFirewallAccessproxyServerpubkeyauthsettings
func GetObjectFirewallAccessproxyServerpubkeyauthsettings(ctx *Context, name string, id IDInput, state *ObjectFirewallAccessproxyServerpubkeyauthsettingsState, opts ...ResourceOption) (*ObjectFirewallAccessproxyServerpubkeyauthsettings, error)
public static ObjectFirewallAccessproxyServerpubkeyauthsettings Get(string name, Input<string> id, ObjectFirewallAccessproxyServerpubkeyauthsettingsState? state, CustomResourceOptions? opts = null)
public static ObjectFirewallAccessproxyServerpubkeyauthsettings get(String name, Output<String> id, ObjectFirewallAccessproxyServerpubkeyauthsettingsState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectFirewallAccessproxyServerpubkeyauthsettings    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AccessProxy string
Access Proxy.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AuthCa string
Name of the SSH server public key authentication CA.
CertExtensions List<ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtension>
Cert-Extension. The structure of cert_extension block is documented below.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
ObjectFirewallAccessproxyServerpubkeyauthsettingsId string
an identifier for the resource.
PermitAgentForwarding string
Enable/disable appending permit-agent-forwarding certificate extension. Valid values: disable, enable.
PermitPortForwarding string
Enable/disable appending permit-port-forwarding certificate extension. Valid values: disable, enable.
PermitPty string
Enable/disable appending permit-pty certificate extension. Valid values: disable, enable.
PermitUserRc string
Enable/disable appending permit-user-rc certificate extension. Valid values: disable, enable.
PermitX11Forwarding string
Enable/disable appending permit-x11-forwarding certificate extension. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SourceAddress string
Enable/disable appending source-address certificate critical option. This option ensure certificate only accepted from FortiGate source address. Valid values: disable, enable.
AccessProxy string
Access Proxy.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AuthCa string
Name of the SSH server public key authentication CA.
CertExtensions []ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtensionArgs
Cert-Extension. The structure of cert_extension block is documented below.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
ObjectFirewallAccessproxyServerpubkeyauthsettingsId string
an identifier for the resource.
PermitAgentForwarding string
Enable/disable appending permit-agent-forwarding certificate extension. Valid values: disable, enable.
PermitPortForwarding string
Enable/disable appending permit-port-forwarding certificate extension. Valid values: disable, enable.
PermitPty string
Enable/disable appending permit-pty certificate extension. Valid values: disable, enable.
PermitUserRc string
Enable/disable appending permit-user-rc certificate extension. Valid values: disable, enable.
PermitX11Forwarding string
Enable/disable appending permit-x11-forwarding certificate extension. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SourceAddress string
Enable/disable appending source-address certificate critical option. This option ensure certificate only accepted from FortiGate source address. Valid values: disable, enable.
accessProxy String
Access Proxy.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authCa String
Name of the SSH server public key authentication CA.
certExtensions List<ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtension>
Cert-Extension. The structure of cert_extension block is documented below.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
objectFirewallAccessproxyServerpubkeyauthsettingsId String
an identifier for the resource.
permitAgentForwarding String
Enable/disable appending permit-agent-forwarding certificate extension. Valid values: disable, enable.
permitPortForwarding String
Enable/disable appending permit-port-forwarding certificate extension. Valid values: disable, enable.
permitPty String
Enable/disable appending permit-pty certificate extension. Valid values: disable, enable.
permitUserRc String
Enable/disable appending permit-user-rc certificate extension. Valid values: disable, enable.
permitX11Forwarding String
Enable/disable appending permit-x11-forwarding certificate extension. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sourceAddress String
Enable/disable appending source-address certificate critical option. This option ensure certificate only accepted from FortiGate source address. Valid values: disable, enable.
accessProxy string
Access Proxy.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authCa string
Name of the SSH server public key authentication CA.
certExtensions ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtension[]
Cert-Extension. The structure of cert_extension block is documented below.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
objectFirewallAccessproxyServerpubkeyauthsettingsId string
an identifier for the resource.
permitAgentForwarding string
Enable/disable appending permit-agent-forwarding certificate extension. Valid values: disable, enable.
permitPortForwarding string
Enable/disable appending permit-port-forwarding certificate extension. Valid values: disable, enable.
permitPty string
Enable/disable appending permit-pty certificate extension. Valid values: disable, enable.
permitUserRc string
Enable/disable appending permit-user-rc certificate extension. Valid values: disable, enable.
permitX11Forwarding string
Enable/disable appending permit-x11-forwarding certificate extension. Valid values: disable, enable.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sourceAddress string
Enable/disable appending source-address certificate critical option. This option ensure certificate only accepted from FortiGate source address. Valid values: disable, enable.
access_proxy str
Access Proxy.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
auth_ca str
Name of the SSH server public key authentication CA.
cert_extensions Sequence[ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtensionArgs]
Cert-Extension. The structure of cert_extension block is documented below.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
object_firewall_accessproxy_serverpubkeyauthsettings_id str
an identifier for the resource.
permit_agent_forwarding str
Enable/disable appending permit-agent-forwarding certificate extension. Valid values: disable, enable.
permit_port_forwarding str
Enable/disable appending permit-port-forwarding certificate extension. Valid values: disable, enable.
permit_pty str
Enable/disable appending permit-pty certificate extension. Valid values: disable, enable.
permit_user_rc str
Enable/disable appending permit-user-rc certificate extension. Valid values: disable, enable.
permit_x11_forwarding str
Enable/disable appending permit-x11-forwarding certificate extension. Valid values: disable, enable.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
source_address str
Enable/disable appending source-address certificate critical option. This option ensure certificate only accepted from FortiGate source address. Valid values: disable, enable.
accessProxy String
Access Proxy.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authCa String
Name of the SSH server public key authentication CA.
certExtensions List<Property Map>
Cert-Extension. The structure of cert_extension block is documented below.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
objectFirewallAccessproxyServerpubkeyauthsettingsId String
an identifier for the resource.
permitAgentForwarding String
Enable/disable appending permit-agent-forwarding certificate extension. Valid values: disable, enable.
permitPortForwarding String
Enable/disable appending permit-port-forwarding certificate extension. Valid values: disable, enable.
permitPty String
Enable/disable appending permit-pty certificate extension. Valid values: disable, enable.
permitUserRc String
Enable/disable appending permit-user-rc certificate extension. Valid values: disable, enable.
permitX11Forwarding String
Enable/disable appending permit-x11-forwarding certificate extension. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sourceAddress String
Enable/disable appending source-address certificate critical option. This option ensure certificate only accepted from FortiGate source address. Valid values: disable, enable.

Supporting Types

ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtension
, ObjectFirewallAccessproxyServerpubkeyauthsettingsCertExtensionArgs

Critical string
Critical option. Valid values: no, yes.
Data string
Name of certificate extension.
Name string
Name of certificate extension.
Type string
Type of certificate extension. Valid values: fixed, user.
Critical string
Critical option. Valid values: no, yes.
Data string
Name of certificate extension.
Name string
Name of certificate extension.
Type string
Type of certificate extension. Valid values: fixed, user.
critical String
Critical option. Valid values: no, yes.
data String
Name of certificate extension.
name String
Name of certificate extension.
type String
Type of certificate extension. Valid values: fixed, user.
critical string
Critical option. Valid values: no, yes.
data string
Name of certificate extension.
name string
Name of certificate extension.
type string
Type of certificate extension. Valid values: fixed, user.
critical str
Critical option. Valid values: no, yes.
data str
Name of certificate extension.
name str
Name of certificate extension.
type str
Type of certificate extension. Valid values: fixed, user.
critical String
Critical option. Valid values: no, yes.
data String
Name of certificate extension.
name String
Name of certificate extension.
type String
Type of certificate extension. Valid values: fixed, user.

Import

ObjectFirewall AccessProxyServerPubkeyAuthSettings can be imported using any of these accepted formats:

Set import_options = [“access_proxy=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectFirewallAccessproxyServerpubkeyauthsettings:ObjectFirewallAccessproxyServerpubkeyauthsettings labelname ObjectFirewallAccessProxyServerPubkeyAuthSettings
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.