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

fortimanager.ObjectFirewallProfileprotocoloptionsCifsServerkeytab

Explore with Pulumi AI

Server keytab.

This resource is a sub resource for variable server_keytab of resource fortimanager.ObjectFirewallProfileprotocoloptionsCifs. Conflict and overwrite may occur if use both of them.

Example Usage

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

const trnameObjectFirewallProfileprotocoloptions = new fortimanager.ObjectFirewallProfileprotocoloptions("trnameObjectFirewallProfileprotocoloptions", {});
const trnameObjectFirewallProfileprotocoloptionsCifsServerkeytab = new fortimanager.ObjectFirewallProfileprotocoloptionsCifsServerkeytab("trnameObjectFirewallProfileprotocoloptionsCifsServerkeytab", {
    profileProtocolOptions: trnameObjectFirewallProfileprotocoloptions.name,
    passwords: ["psw"],
    principal: "principal",
}, {
    dependsOn: [trnameObjectFirewallProfileprotocoloptions],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_firewall_profileprotocoloptions = fortimanager.ObjectFirewallProfileprotocoloptions("trnameObjectFirewallProfileprotocoloptions")
trname_object_firewall_profileprotocoloptions_cifs_serverkeytab = fortimanager.ObjectFirewallProfileprotocoloptionsCifsServerkeytab("trnameObjectFirewallProfileprotocoloptionsCifsServerkeytab",
    profile_protocol_options=trname_object_firewall_profileprotocoloptions.name,
    passwords=["psw"],
    principal="principal",
    opts = pulumi.ResourceOptions(depends_on=[trname_object_firewall_profileprotocoloptions]))
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 {
		trnameObjectFirewallProfileprotocoloptions, err := fortimanager.NewObjectFirewallProfileprotocoloptions(ctx, "trnameObjectFirewallProfileprotocoloptions", nil)
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectFirewallProfileprotocoloptionsCifsServerkeytab(ctx, "trnameObjectFirewallProfileprotocoloptionsCifsServerkeytab", &fortimanager.ObjectFirewallProfileprotocoloptionsCifsServerkeytabArgs{
			ProfileProtocolOptions: trnameObjectFirewallProfileprotocoloptions.Name,
			Passwords: pulumi.StringArray{
				pulumi.String("psw"),
			},
			Principal: pulumi.String("principal"),
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectFirewallProfileprotocoloptions,
		}))
		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 trnameObjectFirewallProfileprotocoloptions = new Fortimanager.ObjectFirewallProfileprotocoloptions("trnameObjectFirewallProfileprotocoloptions");

    var trnameObjectFirewallProfileprotocoloptionsCifsServerkeytab = new Fortimanager.ObjectFirewallProfileprotocoloptionsCifsServerkeytab("trnameObjectFirewallProfileprotocoloptionsCifsServerkeytab", new()
    {
        ProfileProtocolOptions = trnameObjectFirewallProfileprotocoloptions.Name,
        Passwords = new[]
        {
            "psw",
        },
        Principal = "principal",
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectFirewallProfileprotocoloptions,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectFirewallProfileprotocoloptions;
import com.pulumi.fortimanager.ObjectFirewallProfileprotocoloptionsCifsServerkeytab;
import com.pulumi.fortimanager.ObjectFirewallProfileprotocoloptionsCifsServerkeytabArgs;
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 trnameObjectFirewallProfileprotocoloptions = new ObjectFirewallProfileprotocoloptions("trnameObjectFirewallProfileprotocoloptions");

        var trnameObjectFirewallProfileprotocoloptionsCifsServerkeytab = new ObjectFirewallProfileprotocoloptionsCifsServerkeytab("trnameObjectFirewallProfileprotocoloptionsCifsServerkeytab", ObjectFirewallProfileprotocoloptionsCifsServerkeytabArgs.builder()
            .profileProtocolOptions(trnameObjectFirewallProfileprotocoloptions.name())
            .passwords("psw")
            .principal("principal")
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectFirewallProfileprotocoloptions)
                .build());

    }
}
Copy
resources:
  trnameObjectFirewallProfileprotocoloptionsCifsServerkeytab:
    type: fortimanager:ObjectFirewallProfileprotocoloptionsCifsServerkeytab
    properties:
      profileProtocolOptions: ${trnameObjectFirewallProfileprotocoloptions.name}
      passwords:
        - psw
      principal: principal
    options:
      dependsOn:
        - ${trnameObjectFirewallProfileprotocoloptions}
  trnameObjectFirewallProfileprotocoloptions:
    type: fortimanager:ObjectFirewallProfileprotocoloptions
Copy

Create ObjectFirewallProfileprotocoloptionsCifsServerkeytab Resource

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

Constructor syntax

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

@overload
def ObjectFirewallProfileprotocoloptionsCifsServerkeytab(resource_name: str,
                                                         opts: Optional[ResourceOptions] = None,
                                                         profile_protocol_options: Optional[str] = None,
                                                         adom: Optional[str] = None,
                                                         keytab: Optional[str] = None,
                                                         object_firewall_profileprotocoloptions_cifs_serverkeytab_id: Optional[str] = None,
                                                         passwords: Optional[Sequence[str]] = None,
                                                         principal: Optional[str] = None,
                                                         scopetype: Optional[str] = None)
func NewObjectFirewallProfileprotocoloptionsCifsServerkeytab(ctx *Context, name string, args ObjectFirewallProfileprotocoloptionsCifsServerkeytabArgs, opts ...ResourceOption) (*ObjectFirewallProfileprotocoloptionsCifsServerkeytab, error)
public ObjectFirewallProfileprotocoloptionsCifsServerkeytab(string name, ObjectFirewallProfileprotocoloptionsCifsServerkeytabArgs args, CustomResourceOptions? opts = null)
public ObjectFirewallProfileprotocoloptionsCifsServerkeytab(String name, ObjectFirewallProfileprotocoloptionsCifsServerkeytabArgs args)
public ObjectFirewallProfileprotocoloptionsCifsServerkeytab(String name, ObjectFirewallProfileprotocoloptionsCifsServerkeytabArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallProfileprotocoloptionsCifsServerkeytab
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. ObjectFirewallProfileprotocoloptionsCifsServerkeytabArgs
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. ObjectFirewallProfileprotocoloptionsCifsServerkeytabArgs
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. ObjectFirewallProfileprotocoloptionsCifsServerkeytabArgs
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. ObjectFirewallProfileprotocoloptionsCifsServerkeytabArgs
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. ObjectFirewallProfileprotocoloptionsCifsServerkeytabArgs
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 objectFirewallProfileprotocoloptionsCifsServerkeytabResource = new Fortimanager.ObjectFirewallProfileprotocoloptionsCifsServerkeytab("objectFirewallProfileprotocoloptionsCifsServerkeytabResource", new()
{
    ProfileProtocolOptions = "string",
    Adom = "string",
    Keytab = "string",
    ObjectFirewallProfileprotocoloptionsCifsServerkeytabId = "string",
    Passwords = new[]
    {
        "string",
    },
    Principal = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectFirewallProfileprotocoloptionsCifsServerkeytab(ctx, "objectFirewallProfileprotocoloptionsCifsServerkeytabResource", &fortimanager.ObjectFirewallProfileprotocoloptionsCifsServerkeytabArgs{
ProfileProtocolOptions: pulumi.String("string"),
Adom: pulumi.String("string"),
Keytab: pulumi.String("string"),
ObjectFirewallProfileprotocoloptionsCifsServerkeytabId: pulumi.String("string"),
Passwords: pulumi.StringArray{
pulumi.String("string"),
},
Principal: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
Copy
var objectFirewallProfileprotocoloptionsCifsServerkeytabResource = new ObjectFirewallProfileprotocoloptionsCifsServerkeytab("objectFirewallProfileprotocoloptionsCifsServerkeytabResource", ObjectFirewallProfileprotocoloptionsCifsServerkeytabArgs.builder()
    .profileProtocolOptions("string")
    .adom("string")
    .keytab("string")
    .objectFirewallProfileprotocoloptionsCifsServerkeytabId("string")
    .passwords("string")
    .principal("string")
    .scopetype("string")
    .build());
Copy
object_firewall_profileprotocoloptions_cifs_serverkeytab_resource = fortimanager.ObjectFirewallProfileprotocoloptionsCifsServerkeytab("objectFirewallProfileprotocoloptionsCifsServerkeytabResource",
    profile_protocol_options="string",
    adom="string",
    keytab="string",
    object_firewall_profileprotocoloptions_cifs_serverkeytab_id="string",
    passwords=["string"],
    principal="string",
    scopetype="string")
Copy
const objectFirewallProfileprotocoloptionsCifsServerkeytabResource = new fortimanager.ObjectFirewallProfileprotocoloptionsCifsServerkeytab("objectFirewallProfileprotocoloptionsCifsServerkeytabResource", {
    profileProtocolOptions: "string",
    adom: "string",
    keytab: "string",
    objectFirewallProfileprotocoloptionsCifsServerkeytabId: "string",
    passwords: ["string"],
    principal: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectFirewallProfileprotocoloptionsCifsServerkeytab
properties:
    adom: string
    keytab: string
    objectFirewallProfileprotocoloptionsCifsServerkeytabId: string
    passwords:
        - string
    principal: string
    profileProtocolOptions: string
    scopetype: string
Copy

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

ProfileProtocolOptions This property is required. string
Profile Protocol Options.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Keytab string
Base64 encoded keytab file containing credential of the server.
ObjectFirewallProfileprotocoloptionsCifsServerkeytabId string
an identifier for the resource with format {{principal}}.
Passwords List<string>
Password for keytab.
Principal string
Service principal. For example, "host/cifsserver.example.com@example.com".
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.
ProfileProtocolOptions This property is required. string
Profile Protocol Options.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Keytab string
Base64 encoded keytab file containing credential of the server.
ObjectFirewallProfileprotocoloptionsCifsServerkeytabId string
an identifier for the resource with format {{principal}}.
Passwords []string
Password for keytab.
Principal string
Service principal. For example, "host/cifsserver.example.com@example.com".
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.
profileProtocolOptions This property is required. String
Profile Protocol Options.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
keytab String
Base64 encoded keytab file containing credential of the server.
objectFirewallProfileprotocoloptionsCifsServerkeytabId String
an identifier for the resource with format {{principal}}.
passwords List<String>
Password for keytab.
principal String
Service principal. For example, "host/cifsserver.example.com@example.com".
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.
profileProtocolOptions This property is required. string
Profile Protocol Options.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
keytab string
Base64 encoded keytab file containing credential of the server.
objectFirewallProfileprotocoloptionsCifsServerkeytabId string
an identifier for the resource with format {{principal}}.
passwords string[]
Password for keytab.
principal string
Service principal. For example, "host/cifsserver.example.com@example.com".
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.
profile_protocol_options This property is required. str
Profile Protocol Options.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
keytab str
Base64 encoded keytab file containing credential of the server.
object_firewall_profileprotocoloptions_cifs_serverkeytab_id str
an identifier for the resource with format {{principal}}.
passwords Sequence[str]
Password for keytab.
principal str
Service principal. For example, "host/cifsserver.example.com@example.com".
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.
profileProtocolOptions This property is required. String
Profile Protocol Options.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
keytab String
Base64 encoded keytab file containing credential of the server.
objectFirewallProfileprotocoloptionsCifsServerkeytabId String
an identifier for the resource with format {{principal}}.
passwords List<String>
Password for keytab.
principal String
Service principal. For example, "host/cifsserver.example.com@example.com".
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.

Outputs

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

Get an existing ObjectFirewallProfileprotocoloptionsCifsServerkeytab 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?: ObjectFirewallProfileprotocoloptionsCifsServerkeytabState, opts?: CustomResourceOptions): ObjectFirewallProfileprotocoloptionsCifsServerkeytab
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        keytab: Optional[str] = None,
        object_firewall_profileprotocoloptions_cifs_serverkeytab_id: Optional[str] = None,
        passwords: Optional[Sequence[str]] = None,
        principal: Optional[str] = None,
        profile_protocol_options: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectFirewallProfileprotocoloptionsCifsServerkeytab
func GetObjectFirewallProfileprotocoloptionsCifsServerkeytab(ctx *Context, name string, id IDInput, state *ObjectFirewallProfileprotocoloptionsCifsServerkeytabState, opts ...ResourceOption) (*ObjectFirewallProfileprotocoloptionsCifsServerkeytab, error)
public static ObjectFirewallProfileprotocoloptionsCifsServerkeytab Get(string name, Input<string> id, ObjectFirewallProfileprotocoloptionsCifsServerkeytabState? state, CustomResourceOptions? opts = null)
public static ObjectFirewallProfileprotocoloptionsCifsServerkeytab get(String name, Output<String> id, ObjectFirewallProfileprotocoloptionsCifsServerkeytabState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectFirewallProfileprotocoloptionsCifsServerkeytab    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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Keytab string
Base64 encoded keytab file containing credential of the server.
ObjectFirewallProfileprotocoloptionsCifsServerkeytabId string
an identifier for the resource with format {{principal}}.
Passwords List<string>
Password for keytab.
Principal string
Service principal. For example, "host/cifsserver.example.com@example.com".
ProfileProtocolOptions string
Profile Protocol Options.
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.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Keytab string
Base64 encoded keytab file containing credential of the server.
ObjectFirewallProfileprotocoloptionsCifsServerkeytabId string
an identifier for the resource with format {{principal}}.
Passwords []string
Password for keytab.
Principal string
Service principal. For example, "host/cifsserver.example.com@example.com".
ProfileProtocolOptions string
Profile Protocol Options.
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.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
keytab String
Base64 encoded keytab file containing credential of the server.
objectFirewallProfileprotocoloptionsCifsServerkeytabId String
an identifier for the resource with format {{principal}}.
passwords List<String>
Password for keytab.
principal String
Service principal. For example, "host/cifsserver.example.com@example.com".
profileProtocolOptions String
Profile Protocol Options.
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.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
keytab string
Base64 encoded keytab file containing credential of the server.
objectFirewallProfileprotocoloptionsCifsServerkeytabId string
an identifier for the resource with format {{principal}}.
passwords string[]
Password for keytab.
principal string
Service principal. For example, "host/cifsserver.example.com@example.com".
profileProtocolOptions string
Profile Protocol Options.
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.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
keytab str
Base64 encoded keytab file containing credential of the server.
object_firewall_profileprotocoloptions_cifs_serverkeytab_id str
an identifier for the resource with format {{principal}}.
passwords Sequence[str]
Password for keytab.
principal str
Service principal. For example, "host/cifsserver.example.com@example.com".
profile_protocol_options str
Profile Protocol Options.
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.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
keytab String
Base64 encoded keytab file containing credential of the server.
objectFirewallProfileprotocoloptionsCifsServerkeytabId String
an identifier for the resource with format {{principal}}.
passwords List<String>
Password for keytab.
principal String
Service principal. For example, "host/cifsserver.example.com@example.com".
profileProtocolOptions String
Profile Protocol Options.
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.

Import

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

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectFirewallProfileprotocoloptionsCifsServerkeytab:ObjectFirewallProfileprotocoloptionsCifsServerkeytab labelname {{principal}}
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.