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

fortimanager.ObjectCertificateTemplate

Explore with Pulumi AI

ObjectCertificate Template

Example Usage

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

const trname = new fortimanager.ObjectCertificateTemplate("trname", {
    city: "Cd",
    country: "AM",
    curveName: "secp256r1",
    digestType: "sha1",
    email: "dfa@efsa.com",
    idType: "host-ip",
    keySize: "2048",
    keyType: "rsa",
    organization: "fds",
    organizationUnits: ["FortinetTestLab"],
    scepPasswords: ["33333"],
    state: "dfa",
    type: "external",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectCertificateTemplate("trname",
    city="Cd",
    country="AM",
    curve_name="secp256r1",
    digest_type="sha1",
    email="dfa@efsa.com",
    id_type="host-ip",
    key_size="2048",
    key_type="rsa",
    organization="fds",
    organization_units=["FortinetTestLab"],
    scep_passwords=["33333"],
    state="dfa",
    type="external")
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 {
		_, err := fortimanager.NewObjectCertificateTemplate(ctx, "trname", &fortimanager.ObjectCertificateTemplateArgs{
			City:         pulumi.String("Cd"),
			Country:      pulumi.String("AM"),
			CurveName:    pulumi.String("secp256r1"),
			DigestType:   pulumi.String("sha1"),
			Email:        pulumi.String("dfa@efsa.com"),
			IdType:       pulumi.String("host-ip"),
			KeySize:      pulumi.String("2048"),
			KeyType:      pulumi.String("rsa"),
			Organization: pulumi.String("fds"),
			OrganizationUnits: pulumi.StringArray{
				pulumi.String("FortinetTestLab"),
			},
			ScepPasswords: pulumi.StringArray{
				pulumi.String("33333"),
			},
			State: pulumi.String("dfa"),
			Type:  pulumi.String("external"),
		})
		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 trname = new Fortimanager.ObjectCertificateTemplate("trname", new()
    {
        City = "Cd",
        Country = "AM",
        CurveName = "secp256r1",
        DigestType = "sha1",
        Email = "dfa@efsa.com",
        IdType = "host-ip",
        KeySize = "2048",
        KeyType = "rsa",
        Organization = "fds",
        OrganizationUnits = new[]
        {
            "FortinetTestLab",
        },
        ScepPasswords = new[]
        {
            "33333",
        },
        State = "dfa",
        Type = "external",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectCertificateTemplate;
import com.pulumi.fortimanager.ObjectCertificateTemplateArgs;
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 trname = new ObjectCertificateTemplate("trname", ObjectCertificateTemplateArgs.builder()
            .city("Cd")
            .country("AM")
            .curveName("secp256r1")
            .digestType("sha1")
            .email("dfa@efsa.com")
            .idType("host-ip")
            .keySize("2048")
            .keyType("rsa")
            .organization("fds")
            .organizationUnits("FortinetTestLab")
            .scepPasswords("33333")
            .state("dfa")
            .type("external")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectCertificateTemplate
    properties:
      city: Cd
      country: AM
      curveName: secp256r1
      digestType: sha1
      email: dfa@efsa.com
      idType: host-ip
      keySize: '2048'
      keyType: rsa
      organization: fds
      organizationUnits:
        - FortinetTestLab
      scepPasswords:
        - '33333'
      state: dfa
      type: external
Copy

Create ObjectCertificateTemplate Resource

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

Constructor syntax

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

@overload
def ObjectCertificateTemplate(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              adom: Optional[str] = None,
                              city: Optional[str] = None,
                              country: Optional[str] = None,
                              curve_name: Optional[str] = None,
                              digest_type: Optional[str] = None,
                              email: Optional[str] = None,
                              id_type: Optional[str] = None,
                              key_size: Optional[str] = None,
                              key_type: Optional[str] = None,
                              name: Optional[str] = None,
                              object_certificate_template_id: Optional[str] = None,
                              organization: Optional[str] = None,
                              organization_units: Optional[Sequence[str]] = None,
                              scep_ca_identifier: Optional[str] = None,
                              scep_passwords: Optional[Sequence[str]] = None,
                              scep_server: Optional[str] = None,
                              scopetype: Optional[str] = None,
                              state: Optional[str] = None,
                              subject_name: Optional[str] = None,
                              type: Optional[str] = None)
func NewObjectCertificateTemplate(ctx *Context, name string, args *ObjectCertificateTemplateArgs, opts ...ResourceOption) (*ObjectCertificateTemplate, error)
public ObjectCertificateTemplate(string name, ObjectCertificateTemplateArgs? args = null, CustomResourceOptions? opts = null)
public ObjectCertificateTemplate(String name, ObjectCertificateTemplateArgs args)
public ObjectCertificateTemplate(String name, ObjectCertificateTemplateArgs args, CustomResourceOptions options)
type: fortimanager:ObjectCertificateTemplate
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 ObjectCertificateTemplateArgs
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 ObjectCertificateTemplateArgs
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 ObjectCertificateTemplateArgs
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 ObjectCertificateTemplateArgs
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. ObjectCertificateTemplateArgs
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 objectCertificateTemplateResource = new Fortimanager.ObjectCertificateTemplate("objectCertificateTemplateResource", new()
{
    Adom = "string",
    City = "string",
    Country = "string",
    CurveName = "string",
    DigestType = "string",
    Email = "string",
    IdType = "string",
    KeySize = "string",
    KeyType = "string",
    Name = "string",
    ObjectCertificateTemplateId = "string",
    Organization = "string",
    OrganizationUnits = new[]
    {
        "string",
    },
    ScepCaIdentifier = "string",
    ScepPasswords = new[]
    {
        "string",
    },
    ScepServer = "string",
    Scopetype = "string",
    State = "string",
    SubjectName = "string",
    Type = "string",
});
Copy
example, err := fortimanager.NewObjectCertificateTemplate(ctx, "objectCertificateTemplateResource", &fortimanager.ObjectCertificateTemplateArgs{
Adom: pulumi.String("string"),
City: pulumi.String("string"),
Country: pulumi.String("string"),
CurveName: pulumi.String("string"),
DigestType: pulumi.String("string"),
Email: pulumi.String("string"),
IdType: pulumi.String("string"),
KeySize: pulumi.String("string"),
KeyType: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectCertificateTemplateId: pulumi.String("string"),
Organization: pulumi.String("string"),
OrganizationUnits: pulumi.StringArray{
pulumi.String("string"),
},
ScepCaIdentifier: pulumi.String("string"),
ScepPasswords: pulumi.StringArray{
pulumi.String("string"),
},
ScepServer: pulumi.String("string"),
Scopetype: pulumi.String("string"),
State: pulumi.String("string"),
SubjectName: pulumi.String("string"),
Type: pulumi.String("string"),
})
Copy
var objectCertificateTemplateResource = new ObjectCertificateTemplate("objectCertificateTemplateResource", ObjectCertificateTemplateArgs.builder()
    .adom("string")
    .city("string")
    .country("string")
    .curveName("string")
    .digestType("string")
    .email("string")
    .idType("string")
    .keySize("string")
    .keyType("string")
    .name("string")
    .objectCertificateTemplateId("string")
    .organization("string")
    .organizationUnits("string")
    .scepCaIdentifier("string")
    .scepPasswords("string")
    .scepServer("string")
    .scopetype("string")
    .state("string")
    .subjectName("string")
    .type("string")
    .build());
Copy
object_certificate_template_resource = fortimanager.ObjectCertificateTemplate("objectCertificateTemplateResource",
    adom="string",
    city="string",
    country="string",
    curve_name="string",
    digest_type="string",
    email="string",
    id_type="string",
    key_size="string",
    key_type="string",
    name="string",
    object_certificate_template_id="string",
    organization="string",
    organization_units=["string"],
    scep_ca_identifier="string",
    scep_passwords=["string"],
    scep_server="string",
    scopetype="string",
    state="string",
    subject_name="string",
    type="string")
Copy
const objectCertificateTemplateResource = new fortimanager.ObjectCertificateTemplate("objectCertificateTemplateResource", {
    adom: "string",
    city: "string",
    country: "string",
    curveName: "string",
    digestType: "string",
    email: "string",
    idType: "string",
    keySize: "string",
    keyType: "string",
    name: "string",
    objectCertificateTemplateId: "string",
    organization: "string",
    organizationUnits: ["string"],
    scepCaIdentifier: "string",
    scepPasswords: ["string"],
    scepServer: "string",
    scopetype: "string",
    state: "string",
    subjectName: "string",
    type: "string",
});
Copy
type: fortimanager:ObjectCertificateTemplate
properties:
    adom: string
    city: string
    country: string
    curveName: string
    digestType: string
    email: string
    idType: string
    keySize: string
    keyType: string
    name: string
    objectCertificateTemplateId: string
    organization: string
    organizationUnits:
        - string
    scepCaIdentifier: string
    scepPasswords:
        - string
    scepServer: string
    scopetype: string
    state: string
    subjectName: string
    type: string
Copy

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

Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
City string
City.
Country string
Country.
CurveName string
Curve-Name. Valid values: secp256r1, secp384r1, secp521r1.
DigestType string
Digest-Type. Valid values: sha1, sha256.
Email string
Email.
IdType string
Id-Type. Valid values: host-ip, domain-name, email.
KeySize string
Key-Size. Valid values: 512, 1024, 1536, 2048, 4096.
KeyType string
Key-Type. Valid values: rsa, ec.
Name string
Name.
ObjectCertificateTemplateId string
an identifier for the resource with format {{name}}.
Organization string
Organization.
OrganizationUnits List<string>
Organization-Unit.
ScepCaIdentifier string
Scep-Ca-Identifier.
ScepPasswords List<string>
Scep-Password.
ScepServer string
Scep-Server.
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.
State string
State.
SubjectName string
Subject-Name.
Type string
Type. Valid values: external, local.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
City string
City.
Country string
Country.
CurveName string
Curve-Name. Valid values: secp256r1, secp384r1, secp521r1.
DigestType string
Digest-Type. Valid values: sha1, sha256.
Email string
Email.
IdType string
Id-Type. Valid values: host-ip, domain-name, email.
KeySize string
Key-Size. Valid values: 512, 1024, 1536, 2048, 4096.
KeyType string
Key-Type. Valid values: rsa, ec.
Name string
Name.
ObjectCertificateTemplateId string
an identifier for the resource with format {{name}}.
Organization string
Organization.
OrganizationUnits []string
Organization-Unit.
ScepCaIdentifier string
Scep-Ca-Identifier.
ScepPasswords []string
Scep-Password.
ScepServer string
Scep-Server.
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.
State string
State.
SubjectName string
Subject-Name.
Type string
Type. Valid values: external, local.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
city String
City.
country String
Country.
curveName String
Curve-Name. Valid values: secp256r1, secp384r1, secp521r1.
digestType String
Digest-Type. Valid values: sha1, sha256.
email String
Email.
idType String
Id-Type. Valid values: host-ip, domain-name, email.
keySize String
Key-Size. Valid values: 512, 1024, 1536, 2048, 4096.
keyType String
Key-Type. Valid values: rsa, ec.
name String
Name.
objectCertificateTemplateId String
an identifier for the resource with format {{name}}.
organization String
Organization.
organizationUnits List<String>
Organization-Unit.
scepCaIdentifier String
Scep-Ca-Identifier.
scepPasswords List<String>
Scep-Password.
scepServer String
Scep-Server.
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.
state String
State.
subjectName String
Subject-Name.
type String
Type. Valid values: external, local.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
city string
City.
country string
Country.
curveName string
Curve-Name. Valid values: secp256r1, secp384r1, secp521r1.
digestType string
Digest-Type. Valid values: sha1, sha256.
email string
Email.
idType string
Id-Type. Valid values: host-ip, domain-name, email.
keySize string
Key-Size. Valid values: 512, 1024, 1536, 2048, 4096.
keyType string
Key-Type. Valid values: rsa, ec.
name string
Name.
objectCertificateTemplateId string
an identifier for the resource with format {{name}}.
organization string
Organization.
organizationUnits string[]
Organization-Unit.
scepCaIdentifier string
Scep-Ca-Identifier.
scepPasswords string[]
Scep-Password.
scepServer string
Scep-Server.
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.
state string
State.
subjectName string
Subject-Name.
type string
Type. Valid values: external, local.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
city str
City.
country str
Country.
curve_name str
Curve-Name. Valid values: secp256r1, secp384r1, secp521r1.
digest_type str
Digest-Type. Valid values: sha1, sha256.
email str
Email.
id_type str
Id-Type. Valid values: host-ip, domain-name, email.
key_size str
Key-Size. Valid values: 512, 1024, 1536, 2048, 4096.
key_type str
Key-Type. Valid values: rsa, ec.
name str
Name.
object_certificate_template_id str
an identifier for the resource with format {{name}}.
organization str
Organization.
organization_units Sequence[str]
Organization-Unit.
scep_ca_identifier str
Scep-Ca-Identifier.
scep_passwords Sequence[str]
Scep-Password.
scep_server str
Scep-Server.
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.
state str
State.
subject_name str
Subject-Name.
type str
Type. Valid values: external, local.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
city String
City.
country String
Country.
curveName String
Curve-Name. Valid values: secp256r1, secp384r1, secp521r1.
digestType String
Digest-Type. Valid values: sha1, sha256.
email String
Email.
idType String
Id-Type. Valid values: host-ip, domain-name, email.
keySize String
Key-Size. Valid values: 512, 1024, 1536, 2048, 4096.
keyType String
Key-Type. Valid values: rsa, ec.
name String
Name.
objectCertificateTemplateId String
an identifier for the resource with format {{name}}.
organization String
Organization.
organizationUnits List<String>
Organization-Unit.
scepCaIdentifier String
Scep-Ca-Identifier.
scepPasswords List<String>
Scep-Password.
scepServer String
Scep-Server.
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.
state String
State.
subjectName String
Subject-Name.
type String
Type. Valid values: external, local.

Outputs

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

Get an existing ObjectCertificateTemplate 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?: ObjectCertificateTemplateState, opts?: CustomResourceOptions): ObjectCertificateTemplate
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        city: Optional[str] = None,
        country: Optional[str] = None,
        curve_name: Optional[str] = None,
        digest_type: Optional[str] = None,
        email: Optional[str] = None,
        id_type: Optional[str] = None,
        key_size: Optional[str] = None,
        key_type: Optional[str] = None,
        name: Optional[str] = None,
        object_certificate_template_id: Optional[str] = None,
        organization: Optional[str] = None,
        organization_units: Optional[Sequence[str]] = None,
        scep_ca_identifier: Optional[str] = None,
        scep_passwords: Optional[Sequence[str]] = None,
        scep_server: Optional[str] = None,
        scopetype: Optional[str] = None,
        state: Optional[str] = None,
        subject_name: Optional[str] = None,
        type: Optional[str] = None) -> ObjectCertificateTemplate
func GetObjectCertificateTemplate(ctx *Context, name string, id IDInput, state *ObjectCertificateTemplateState, opts ...ResourceOption) (*ObjectCertificateTemplate, error)
public static ObjectCertificateTemplate Get(string name, Input<string> id, ObjectCertificateTemplateState? state, CustomResourceOptions? opts = null)
public static ObjectCertificateTemplate get(String name, Output<String> id, ObjectCertificateTemplateState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectCertificateTemplate    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.
City string
City.
Country string
Country.
CurveName string
Curve-Name. Valid values: secp256r1, secp384r1, secp521r1.
DigestType string
Digest-Type. Valid values: sha1, sha256.
Email string
Email.
IdType string
Id-Type. Valid values: host-ip, domain-name, email.
KeySize string
Key-Size. Valid values: 512, 1024, 1536, 2048, 4096.
KeyType string
Key-Type. Valid values: rsa, ec.
Name string
Name.
ObjectCertificateTemplateId string
an identifier for the resource with format {{name}}.
Organization string
Organization.
OrganizationUnits List<string>
Organization-Unit.
ScepCaIdentifier string
Scep-Ca-Identifier.
ScepPasswords List<string>
Scep-Password.
ScepServer string
Scep-Server.
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.
State string
State.
SubjectName string
Subject-Name.
Type string
Type. Valid values: external, local.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
City string
City.
Country string
Country.
CurveName string
Curve-Name. Valid values: secp256r1, secp384r1, secp521r1.
DigestType string
Digest-Type. Valid values: sha1, sha256.
Email string
Email.
IdType string
Id-Type. Valid values: host-ip, domain-name, email.
KeySize string
Key-Size. Valid values: 512, 1024, 1536, 2048, 4096.
KeyType string
Key-Type. Valid values: rsa, ec.
Name string
Name.
ObjectCertificateTemplateId string
an identifier for the resource with format {{name}}.
Organization string
Organization.
OrganizationUnits []string
Organization-Unit.
ScepCaIdentifier string
Scep-Ca-Identifier.
ScepPasswords []string
Scep-Password.
ScepServer string
Scep-Server.
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.
State string
State.
SubjectName string
Subject-Name.
Type string
Type. Valid values: external, local.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
city String
City.
country String
Country.
curveName String
Curve-Name. Valid values: secp256r1, secp384r1, secp521r1.
digestType String
Digest-Type. Valid values: sha1, sha256.
email String
Email.
idType String
Id-Type. Valid values: host-ip, domain-name, email.
keySize String
Key-Size. Valid values: 512, 1024, 1536, 2048, 4096.
keyType String
Key-Type. Valid values: rsa, ec.
name String
Name.
objectCertificateTemplateId String
an identifier for the resource with format {{name}}.
organization String
Organization.
organizationUnits List<String>
Organization-Unit.
scepCaIdentifier String
Scep-Ca-Identifier.
scepPasswords List<String>
Scep-Password.
scepServer String
Scep-Server.
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.
state String
State.
subjectName String
Subject-Name.
type String
Type. Valid values: external, local.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
city string
City.
country string
Country.
curveName string
Curve-Name. Valid values: secp256r1, secp384r1, secp521r1.
digestType string
Digest-Type. Valid values: sha1, sha256.
email string
Email.
idType string
Id-Type. Valid values: host-ip, domain-name, email.
keySize string
Key-Size. Valid values: 512, 1024, 1536, 2048, 4096.
keyType string
Key-Type. Valid values: rsa, ec.
name string
Name.
objectCertificateTemplateId string
an identifier for the resource with format {{name}}.
organization string
Organization.
organizationUnits string[]
Organization-Unit.
scepCaIdentifier string
Scep-Ca-Identifier.
scepPasswords string[]
Scep-Password.
scepServer string
Scep-Server.
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.
state string
State.
subjectName string
Subject-Name.
type string
Type. Valid values: external, local.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
city str
City.
country str
Country.
curve_name str
Curve-Name. Valid values: secp256r1, secp384r1, secp521r1.
digest_type str
Digest-Type. Valid values: sha1, sha256.
email str
Email.
id_type str
Id-Type. Valid values: host-ip, domain-name, email.
key_size str
Key-Size. Valid values: 512, 1024, 1536, 2048, 4096.
key_type str
Key-Type. Valid values: rsa, ec.
name str
Name.
object_certificate_template_id str
an identifier for the resource with format {{name}}.
organization str
Organization.
organization_units Sequence[str]
Organization-Unit.
scep_ca_identifier str
Scep-Ca-Identifier.
scep_passwords Sequence[str]
Scep-Password.
scep_server str
Scep-Server.
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.
state str
State.
subject_name str
Subject-Name.
type str
Type. Valid values: external, local.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
city String
City.
country String
Country.
curveName String
Curve-Name. Valid values: secp256r1, secp384r1, secp521r1.
digestType String
Digest-Type. Valid values: sha1, sha256.
email String
Email.
idType String
Id-Type. Valid values: host-ip, domain-name, email.
keySize String
Key-Size. Valid values: 512, 1024, 1536, 2048, 4096.
keyType String
Key-Type. Valid values: rsa, ec.
name String
Name.
objectCertificateTemplateId String
an identifier for the resource with format {{name}}.
organization String
Organization.
organizationUnits List<String>
Organization-Unit.
scepCaIdentifier String
Scep-Ca-Identifier.
scepPasswords List<String>
Scep-Password.
scepServer String
Scep-Server.
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.
state String
State.
subjectName String
Subject-Name.
type String
Type. Valid values: external, local.

Import

ObjectCertificate Template can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectCertificateTemplate:ObjectCertificateTemplate labelname {{name}}
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.