published on Thursday, Sep 17, 2026 by fortinetdev
published on Thursday, Sep 17, 2026 by fortinetdev
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",
name: "ssss",
organization: "fds",
organizationUnits: ["FortinetTestLab"],
scepPasswords: ["33333"],
state: "dfa",
type: "external",
});
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",
name="ssss",
organization="fds",
organization_units=["FortinetTestLab"],
scep_passwords=["33333"],
state="dfa",
type="external")
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"),
Name: pulumi.String("ssss"),
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
})
}
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",
Name = "ssss",
Organization = "fds",
OrganizationUnits = new[]
{
"FortinetTestLab",
},
ScepPasswords = new[]
{
"33333",
},
State = "dfa",
Type = "external",
});
});
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")
.name("ssss")
.organization("fds")
.organizationUnits("FortinetTestLab")
.scepPasswords("33333")
.state("dfa")
.type("external")
.build());
}
}
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
name: ssss
organization: fds
organizationUnits:
- FortinetTestLab
scepPasswords:
- '33333'
state: dfa
type: external
Example coming soon!
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,
enroll_protocol: Optional[str] = None,
est_ca_id: Optional[str] = None,
est_client_certs: Optional[Sequence[str]] = None,
est_http_passwords: Optional[Sequence[str]] = None,
est_http_username: Optional[str] = None,
est_regeneration_method: Optional[str] = None,
est_server_certs: Optional[Sequence[str]] = None,
est_server_url: Optional[str] = None,
est_srp_passwords: Optional[Sequence[str]] = None,
est_srp_username: 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,
source_ip: Optional[str] = None,
state: Optional[str] = None,
subject_alt_name: Optional[str] = None,
subject_name: Optional[str] = None,
type: Optional[str] = None,
update_if_exist: Optional[bool] = None,
validity: Optional[float] = 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.
resource "fortimanager_object_certificate_template" "name" {
# resource properties
}Parameters
- name 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 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 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 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 String
- The unique name of the resource.
- args 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",
EnrollProtocol = "string",
EstCaId = "string",
EstClientCerts = new[]
{
"string",
},
EstHttpPasswords = new[]
{
"string",
},
EstHttpUsername = "string",
EstRegenerationMethod = "string",
EstServerCerts = new[]
{
"string",
},
EstServerUrl = "string",
EstSrpPasswords = new[]
{
"string",
},
EstSrpUsername = "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",
SourceIp = "string",
State = "string",
SubjectAltName = "string",
SubjectName = "string",
Type = "string",
UpdateIfExist = false,
Validity = 0.0,
});
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"),
EnrollProtocol: pulumi.String("string"),
EstCaId: pulumi.String("string"),
EstClientCerts: pulumi.StringArray{
pulumi.String("string"),
},
EstHttpPasswords: pulumi.StringArray{
pulumi.String("string"),
},
EstHttpUsername: pulumi.String("string"),
EstRegenerationMethod: pulumi.String("string"),
EstServerCerts: pulumi.StringArray{
pulumi.String("string"),
},
EstServerUrl: pulumi.String("string"),
EstSrpPasswords: pulumi.StringArray{
pulumi.String("string"),
},
EstSrpUsername: 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"),
SourceIp: pulumi.String("string"),
State: pulumi.String("string"),
SubjectAltName: pulumi.String("string"),
SubjectName: pulumi.String("string"),
Type: pulumi.String("string"),
UpdateIfExist: pulumi.Bool(false),
Validity: pulumi.Float64(0),
})
resource "fortimanager_object_certificate_template" "objectCertificateTemplateResource" {
lifecycle {
create_before_destroy = true
}
adom = "string"
city = "string"
country = "string"
curve_name = "string"
digest_type = "string"
email = "string"
enroll_protocol = "string"
est_ca_id = "string"
est_client_certs = ["string"]
est_http_passwords = ["string"]
est_http_username = "string"
est_regeneration_method = "string"
est_server_certs = ["string"]
est_server_url = "string"
est_srp_passwords = ["string"]
est_srp_username = "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"
source_ip = "string"
state = "string"
subject_alt_name = "string"
subject_name = "string"
type = "string"
update_if_exist = false
validity = 0
}
var objectCertificateTemplateResource = new ObjectCertificateTemplate("objectCertificateTemplateResource", ObjectCertificateTemplateArgs.builder()
.adom("string")
.city("string")
.country("string")
.curveName("string")
.digestType("string")
.email("string")
.enrollProtocol("string")
.estCaId("string")
.estClientCerts("string")
.estHttpPasswords("string")
.estHttpUsername("string")
.estRegenerationMethod("string")
.estServerCerts("string")
.estServerUrl("string")
.estSrpPasswords("string")
.estSrpUsername("string")
.idType("string")
.keySize("string")
.keyType("string")
.name("string")
.objectCertificateTemplateId("string")
.organization("string")
.organizationUnits("string")
.scepCaIdentifier("string")
.scepPasswords("string")
.scepServer("string")
.scopetype("string")
.sourceIp("string")
.state("string")
.subjectAltName("string")
.subjectName("string")
.type("string")
.updateIfExist(false)
.validity(0.0)
.build());
object_certificate_template_resource = fortimanager.ObjectCertificateTemplate("objectCertificateTemplateResource",
adom="string",
city="string",
country="string",
curve_name="string",
digest_type="string",
email="string",
enroll_protocol="string",
est_ca_id="string",
est_client_certs=["string"],
est_http_passwords=["string"],
est_http_username="string",
est_regeneration_method="string",
est_server_certs=["string"],
est_server_url="string",
est_srp_passwords=["string"],
est_srp_username="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",
source_ip="string",
state="string",
subject_alt_name="string",
subject_name="string",
type="string",
update_if_exist=False,
validity=float(0))
const objectCertificateTemplateResource = new fortimanager.ObjectCertificateTemplate("objectCertificateTemplateResource", {
adom: "string",
city: "string",
country: "string",
curveName: "string",
digestType: "string",
email: "string",
enrollProtocol: "string",
estCaId: "string",
estClientCerts: ["string"],
estHttpPasswords: ["string"],
estHttpUsername: "string",
estRegenerationMethod: "string",
estServerCerts: ["string"],
estServerUrl: "string",
estSrpPasswords: ["string"],
estSrpUsername: "string",
idType: "string",
keySize: "string",
keyType: "string",
name: "string",
objectCertificateTemplateId: "string",
organization: "string",
organizationUnits: ["string"],
scepCaIdentifier: "string",
scepPasswords: ["string"],
scepServer: "string",
scopetype: "string",
sourceIp: "string",
state: "string",
subjectAltName: "string",
subjectName: "string",
type: "string",
updateIfExist: false,
validity: 0,
});
type: fortimanager:ObjectCertificateTemplate
properties:
adom: string
city: string
country: string
curveName: string
digestType: string
email: string
enrollProtocol: string
estCaId: string
estClientCerts:
- string
estHttpPasswords:
- string
estHttpUsername: string
estRegenerationMethod: string
estServerCerts:
- string
estServerUrl: string
estSrpPasswords:
- string
estSrpUsername: string
idType: string
keySize: string
keyType: string
name: string
objectCertificateTemplateId: string
organization: string
organizationUnits:
- string
scepCaIdentifier: string
scepPasswords:
- string
scepServer: string
scopetype: string
sourceIp: string
state: string
subjectAltName: string
subjectName: string
type: string
updateIfExist: false
validity: 0
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
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - City string
- City.
- Country string
- Country.
- Curve
Name string - Curve-Name. Valid values:
secp256r1,secp384r1,secp521r1. - Digest
Type string - Digest-Type. Valid values:
sha1,sha256. - Email string
- Email.
- Enroll
Protocol string - Enroll-Protocol. Valid values:
scep,est. - Est
Ca stringId - Est-Ca-Id.
- Est
Client List<string>Certs - Est-Client-Cert.
- Est
Http List<string>Passwords - Est-Http-Password.
- Est
Http stringUsername - Est-Http-Username.
- Est
Regeneration stringMethod - Est-Regeneration-Method. Valid values:
create-new-key,use-existing-key. - Est
Server List<string>Certs - Est-Server-Cert.
- Est
Server stringUrl - Est-Server-Url.
- Est
Srp List<string>Passwords - Est-Srp-Password.
- Est
Srp stringUsername - Est-Srp-Username.
- Id
Type string - Id-Type. Valid values:
host-ip,domain-name,email. - Key
Size string - Key-Size. Valid values:
512,1024,1536,2048,4096. - Key
Type string - Key-Type. Valid values:
rsa,ec. - Name string
- Name.
- Object
Certificate stringTemplate Id - an identifier for the resource with format {{name}}.
- Organization string
- Organization.
- Organization
Units List<string> - Organization-Unit.
- Scep
Ca stringIdentifier - Scep-Ca-Identifier.
- Scep
Passwords List<string> - Scep-Password.
- Scep
Server string - Scep-Server.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Source
Ip string - Source-Ip.
- State string
- State.
- Subject
Alt stringName - Support meta variable
- Subject
Name string - Subject-Name.
- Type string
- Type. Valid values:
external,local. - Update
If boolExist - Validity double
- Validity.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - City string
- City.
- Country string
- Country.
- Curve
Name string - Curve-Name. Valid values:
secp256r1,secp384r1,secp521r1. - Digest
Type string - Digest-Type. Valid values:
sha1,sha256. - Email string
- Email.
- Enroll
Protocol string - Enroll-Protocol. Valid values:
scep,est. - Est
Ca stringId - Est-Ca-Id.
- Est
Client []stringCerts - Est-Client-Cert.
- Est
Http []stringPasswords - Est-Http-Password.
- Est
Http stringUsername - Est-Http-Username.
- Est
Regeneration stringMethod - Est-Regeneration-Method. Valid values:
create-new-key,use-existing-key. - Est
Server []stringCerts - Est-Server-Cert.
- Est
Server stringUrl - Est-Server-Url.
- Est
Srp []stringPasswords - Est-Srp-Password.
- Est
Srp stringUsername - Est-Srp-Username.
- Id
Type string - Id-Type. Valid values:
host-ip,domain-name,email. - Key
Size string - Key-Size. Valid values:
512,1024,1536,2048,4096. - Key
Type string - Key-Type. Valid values:
rsa,ec. - Name string
- Name.
- Object
Certificate stringTemplate Id - an identifier for the resource with format {{name}}.
- Organization string
- Organization.
- Organization
Units []string - Organization-Unit.
- Scep
Ca stringIdentifier - Scep-Ca-Identifier.
- Scep
Passwords []string - Scep-Password.
- Scep
Server string - Scep-Server.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Source
Ip string - Source-Ip.
- State string
- State.
- Subject
Alt stringName - Support meta variable
- Subject
Name string - Subject-Name.
- Type string
- Type. Valid values:
external,local. - Update
If boolExist - Validity float64
- Validity.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - city string
- City.
- country string
- Country.
- curve_
name string - Curve-Name. Valid values:
secp256r1,secp384r1,secp521r1. - digest_
type string - Digest-Type. Valid values:
sha1,sha256. - email string
- Email.
- enroll_
protocol string - Enroll-Protocol. Valid values:
scep,est. - est_
ca_ stringid - Est-Ca-Id.
- est_
client_ list(string)certs - Est-Client-Cert.
- est_
http_ list(string)passwords - Est-Http-Password.
- est_
http_ stringusername - Est-Http-Username.
- est_
regeneration_ stringmethod - Est-Regeneration-Method. Valid values:
create-new-key,use-existing-key. - est_
server_ list(string)certs - Est-Server-Cert.
- est_
server_ stringurl - Est-Server-Url.
- est_
srp_ list(string)passwords - Est-Srp-Password.
- est_
srp_ stringusername - Est-Srp-Username.
- id_
type string - Id-Type. Valid values:
host-ip,domain-name,email. - key_
size string - Key-Size. Valid values:
512,1024,1536,2048,4096. - key_
type string - Key-Type. Valid values:
rsa,ec. - name string
- Name.
- object_
certificate_ stringtemplate_ id - an identifier for the resource with format {{name}}.
- organization string
- Organization.
- organization_
units list(string) - Organization-Unit.
- scep_
ca_ stringidentifier - Scep-Ca-Identifier.
- scep_
passwords list(string) - Scep-Password.
- scep_
server string - Scep-Server.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - source_
ip string - Source-Ip.
- state string
- State.
- subject_
alt_ stringname - Support meta variable
- subject_
name string - Subject-Name.
- type string
- Type. Valid values:
external,local. - update_
if_ boolexist - validity number
- Validity.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - city String
- City.
- country String
- Country.
- curve
Name String - Curve-Name. Valid values:
secp256r1,secp384r1,secp521r1. - digest
Type String - Digest-Type. Valid values:
sha1,sha256. - email String
- Email.
- enroll
Protocol String - Enroll-Protocol. Valid values:
scep,est. - est
Ca StringId - Est-Ca-Id.
- est
Client List<String>Certs - Est-Client-Cert.
- est
Http List<String>Passwords - Est-Http-Password.
- est
Http StringUsername - Est-Http-Username.
- est
Regeneration StringMethod - Est-Regeneration-Method. Valid values:
create-new-key,use-existing-key. - est
Server List<String>Certs - Est-Server-Cert.
- est
Server StringUrl - Est-Server-Url.
- est
Srp List<String>Passwords - Est-Srp-Password.
- est
Srp StringUsername - Est-Srp-Username.
- id
Type String - Id-Type. Valid values:
host-ip,domain-name,email. - key
Size String - Key-Size. Valid values:
512,1024,1536,2048,4096. - key
Type String - Key-Type. Valid values:
rsa,ec. - name String
- Name.
- object
Certificate StringTemplate Id - an identifier for the resource with format {{name}}.
- organization String
- Organization.
- organization
Units List<String> - Organization-Unit.
- scep
Ca StringIdentifier - Scep-Ca-Identifier.
- scep
Passwords List<String> - Scep-Password.
- scep
Server String - Scep-Server.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - source
Ip String - Source-Ip.
- state String
- State.
- subject
Alt StringName - Support meta variable
- subject
Name String - Subject-Name.
- type String
- Type. Valid values:
external,local. - update
If BooleanExist - validity Double
- Validity.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - city string
- City.
- country string
- Country.
- curve
Name string - Curve-Name. Valid values:
secp256r1,secp384r1,secp521r1. - digest
Type string - Digest-Type. Valid values:
sha1,sha256. - email string
- Email.
- enroll
Protocol string - Enroll-Protocol. Valid values:
scep,est. - est
Ca stringId - Est-Ca-Id.
- est
Client string[]Certs - Est-Client-Cert.
- est
Http string[]Passwords - Est-Http-Password.
- est
Http stringUsername - Est-Http-Username.
- est
Regeneration stringMethod - Est-Regeneration-Method. Valid values:
create-new-key,use-existing-key. - est
Server string[]Certs - Est-Server-Cert.
- est
Server stringUrl - Est-Server-Url.
- est
Srp string[]Passwords - Est-Srp-Password.
- est
Srp stringUsername - Est-Srp-Username.
- id
Type string - Id-Type. Valid values:
host-ip,domain-name,email. - key
Size string - Key-Size. Valid values:
512,1024,1536,2048,4096. - key
Type string - Key-Type. Valid values:
rsa,ec. - name string
- Name.
- object
Certificate stringTemplate Id - an identifier for the resource with format {{name}}.
- organization string
- Organization.
- organization
Units string[] - Organization-Unit.
- scep
Ca stringIdentifier - Scep-Ca-Identifier.
- scep
Passwords string[] - Scep-Password.
- scep
Server string - Scep-Server.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - source
Ip string - Source-Ip.
- state string
- State.
- subject
Alt stringName - Support meta variable
- subject
Name string - Subject-Name.
- type string
- Type. Valid values:
external,local. - update
If booleanExist - validity number
- Validity.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, 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.
- enroll_
protocol str - Enroll-Protocol. Valid values:
scep,est. - est_
ca_ strid - Est-Ca-Id.
- est_
client_ Sequence[str]certs - Est-Client-Cert.
- est_
http_ Sequence[str]passwords - Est-Http-Password.
- est_
http_ strusername - Est-Http-Username.
- est_
regeneration_ strmethod - Est-Regeneration-Method. Valid values:
create-new-key,use-existing-key. - est_
server_ Sequence[str]certs - Est-Server-Cert.
- est_
server_ strurl - Est-Server-Url.
- est_
srp_ Sequence[str]passwords - Est-Srp-Password.
- est_
srp_ strusername - Est-Srp-Username.
- 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_ strtemplate_ id - an identifier for the resource with format {{name}}.
- organization str
- Organization.
- organization_
units Sequence[str] - Organization-Unit.
- scep_
ca_ stridentifier - 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - source_
ip str - Source-Ip.
- state str
- State.
- subject_
alt_ strname - Support meta variable
- subject_
name str - Subject-Name.
- type str
- Type. Valid values:
external,local. - update_
if_ boolexist - validity float
- Validity.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - city String
- City.
- country String
- Country.
- curve
Name String - Curve-Name. Valid values:
secp256r1,secp384r1,secp521r1. - digest
Type String - Digest-Type. Valid values:
sha1,sha256. - email String
- Email.
- enroll
Protocol String - Enroll-Protocol. Valid values:
scep,est. - est
Ca StringId - Est-Ca-Id.
- est
Client List<String>Certs - Est-Client-Cert.
- est
Http List<String>Passwords - Est-Http-Password.
- est
Http StringUsername - Est-Http-Username.
- est
Regeneration StringMethod - Est-Regeneration-Method. Valid values:
create-new-key,use-existing-key. - est
Server List<String>Certs - Est-Server-Cert.
- est
Server StringUrl - Est-Server-Url.
- est
Srp List<String>Passwords - Est-Srp-Password.
- est
Srp StringUsername - Est-Srp-Username.
- id
Type String - Id-Type. Valid values:
host-ip,domain-name,email. - key
Size String - Key-Size. Valid values:
512,1024,1536,2048,4096. - key
Type String - Key-Type. Valid values:
rsa,ec. - name String
- Name.
- object
Certificate StringTemplate Id - an identifier for the resource with format {{name}}.
- organization String
- Organization.
- organization
Units List<String> - Organization-Unit.
- scep
Ca StringIdentifier - Scep-Ca-Identifier.
- scep
Passwords List<String> - Scep-Password.
- scep
Server String - Scep-Server.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - source
Ip String - Source-Ip.
- state String
- State.
- subject
Alt StringName - Support meta variable
- subject
Name String - Subject-Name.
- type String
- Type. Valid values:
external,local. - update
If BooleanExist - validity Number
- Validity.
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 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,
enroll_protocol: Optional[str] = None,
est_ca_id: Optional[str] = None,
est_client_certs: Optional[Sequence[str]] = None,
est_http_passwords: Optional[Sequence[str]] = None,
est_http_username: Optional[str] = None,
est_regeneration_method: Optional[str] = None,
est_server_certs: Optional[Sequence[str]] = None,
est_server_url: Optional[str] = None,
est_srp_passwords: Optional[Sequence[str]] = None,
est_srp_username: 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,
source_ip: Optional[str] = None,
state: Optional[str] = None,
subject_alt_name: Optional[str] = None,
subject_name: Optional[str] = None,
type: Optional[str] = None,
update_if_exist: Optional[bool] = None,
validity: Optional[float] = None) -> ObjectCertificateTemplatefunc 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}import {
to = fortimanager_object_certificate_template.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - City string
- City.
- Country string
- Country.
- Curve
Name string - Curve-Name. Valid values:
secp256r1,secp384r1,secp521r1. - Digest
Type string - Digest-Type. Valid values:
sha1,sha256. - Email string
- Email.
- Enroll
Protocol string - Enroll-Protocol. Valid values:
scep,est. - Est
Ca stringId - Est-Ca-Id.
- Est
Client List<string>Certs - Est-Client-Cert.
- Est
Http List<string>Passwords - Est-Http-Password.
- Est
Http stringUsername - Est-Http-Username.
- Est
Regeneration stringMethod - Est-Regeneration-Method. Valid values:
create-new-key,use-existing-key. - Est
Server List<string>Certs - Est-Server-Cert.
- Est
Server stringUrl - Est-Server-Url.
- Est
Srp List<string>Passwords - Est-Srp-Password.
- Est
Srp stringUsername - Est-Srp-Username.
- Id
Type string - Id-Type. Valid values:
host-ip,domain-name,email. - Key
Size string - Key-Size. Valid values:
512,1024,1536,2048,4096. - Key
Type string - Key-Type. Valid values:
rsa,ec. - Name string
- Name.
- Object
Certificate stringTemplate Id - an identifier for the resource with format {{name}}.
- Organization string
- Organization.
- Organization
Units List<string> - Organization-Unit.
- Scep
Ca stringIdentifier - Scep-Ca-Identifier.
- Scep
Passwords List<string> - Scep-Password.
- Scep
Server string - Scep-Server.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Source
Ip string - Source-Ip.
- State string
- State.
- Subject
Alt stringName - Support meta variable
- Subject
Name string - Subject-Name.
- Type string
- Type. Valid values:
external,local. - Update
If boolExist - Validity double
- Validity.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - City string
- City.
- Country string
- Country.
- Curve
Name string - Curve-Name. Valid values:
secp256r1,secp384r1,secp521r1. - Digest
Type string - Digest-Type. Valid values:
sha1,sha256. - Email string
- Email.
- Enroll
Protocol string - Enroll-Protocol. Valid values:
scep,est. - Est
Ca stringId - Est-Ca-Id.
- Est
Client []stringCerts - Est-Client-Cert.
- Est
Http []stringPasswords - Est-Http-Password.
- Est
Http stringUsername - Est-Http-Username.
- Est
Regeneration stringMethod - Est-Regeneration-Method. Valid values:
create-new-key,use-existing-key. - Est
Server []stringCerts - Est-Server-Cert.
- Est
Server stringUrl - Est-Server-Url.
- Est
Srp []stringPasswords - Est-Srp-Password.
- Est
Srp stringUsername - Est-Srp-Username.
- Id
Type string - Id-Type. Valid values:
host-ip,domain-name,email. - Key
Size string - Key-Size. Valid values:
512,1024,1536,2048,4096. - Key
Type string - Key-Type. Valid values:
rsa,ec. - Name string
- Name.
- Object
Certificate stringTemplate Id - an identifier for the resource with format {{name}}.
- Organization string
- Organization.
- Organization
Units []string - Organization-Unit.
- Scep
Ca stringIdentifier - Scep-Ca-Identifier.
- Scep
Passwords []string - Scep-Password.
- Scep
Server string - Scep-Server.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Source
Ip string - Source-Ip.
- State string
- State.
- Subject
Alt stringName - Support meta variable
- Subject
Name string - Subject-Name.
- Type string
- Type. Valid values:
external,local. - Update
If boolExist - Validity float64
- Validity.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - city string
- City.
- country string
- Country.
- curve_
name string - Curve-Name. Valid values:
secp256r1,secp384r1,secp521r1. - digest_
type string - Digest-Type. Valid values:
sha1,sha256. - email string
- Email.
- enroll_
protocol string - Enroll-Protocol. Valid values:
scep,est. - est_
ca_ stringid - Est-Ca-Id.
- est_
client_ list(string)certs - Est-Client-Cert.
- est_
http_ list(string)passwords - Est-Http-Password.
- est_
http_ stringusername - Est-Http-Username.
- est_
regeneration_ stringmethod - Est-Regeneration-Method. Valid values:
create-new-key,use-existing-key. - est_
server_ list(string)certs - Est-Server-Cert.
- est_
server_ stringurl - Est-Server-Url.
- est_
srp_ list(string)passwords - Est-Srp-Password.
- est_
srp_ stringusername - Est-Srp-Username.
- id_
type string - Id-Type. Valid values:
host-ip,domain-name,email. - key_
size string - Key-Size. Valid values:
512,1024,1536,2048,4096. - key_
type string - Key-Type. Valid values:
rsa,ec. - name string
- Name.
- object_
certificate_ stringtemplate_ id - an identifier for the resource with format {{name}}.
- organization string
- Organization.
- organization_
units list(string) - Organization-Unit.
- scep_
ca_ stringidentifier - Scep-Ca-Identifier.
- scep_
passwords list(string) - Scep-Password.
- scep_
server string - Scep-Server.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - source_
ip string - Source-Ip.
- state string
- State.
- subject_
alt_ stringname - Support meta variable
- subject_
name string - Subject-Name.
- type string
- Type. Valid values:
external,local. - update_
if_ boolexist - validity number
- Validity.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - city String
- City.
- country String
- Country.
- curve
Name String - Curve-Name. Valid values:
secp256r1,secp384r1,secp521r1. - digest
Type String - Digest-Type. Valid values:
sha1,sha256. - email String
- Email.
- enroll
Protocol String - Enroll-Protocol. Valid values:
scep,est. - est
Ca StringId - Est-Ca-Id.
- est
Client List<String>Certs - Est-Client-Cert.
- est
Http List<String>Passwords - Est-Http-Password.
- est
Http StringUsername - Est-Http-Username.
- est
Regeneration StringMethod - Est-Regeneration-Method. Valid values:
create-new-key,use-existing-key. - est
Server List<String>Certs - Est-Server-Cert.
- est
Server StringUrl - Est-Server-Url.
- est
Srp List<String>Passwords - Est-Srp-Password.
- est
Srp StringUsername - Est-Srp-Username.
- id
Type String - Id-Type. Valid values:
host-ip,domain-name,email. - key
Size String - Key-Size. Valid values:
512,1024,1536,2048,4096. - key
Type String - Key-Type. Valid values:
rsa,ec. - name String
- Name.
- object
Certificate StringTemplate Id - an identifier for the resource with format {{name}}.
- organization String
- Organization.
- organization
Units List<String> - Organization-Unit.
- scep
Ca StringIdentifier - Scep-Ca-Identifier.
- scep
Passwords List<String> - Scep-Password.
- scep
Server String - Scep-Server.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - source
Ip String - Source-Ip.
- state String
- State.
- subject
Alt StringName - Support meta variable
- subject
Name String - Subject-Name.
- type String
- Type. Valid values:
external,local. - update
If BooleanExist - validity Double
- Validity.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - city string
- City.
- country string
- Country.
- curve
Name string - Curve-Name. Valid values:
secp256r1,secp384r1,secp521r1. - digest
Type string - Digest-Type. Valid values:
sha1,sha256. - email string
- Email.
- enroll
Protocol string - Enroll-Protocol. Valid values:
scep,est. - est
Ca stringId - Est-Ca-Id.
- est
Client string[]Certs - Est-Client-Cert.
- est
Http string[]Passwords - Est-Http-Password.
- est
Http stringUsername - Est-Http-Username.
- est
Regeneration stringMethod - Est-Regeneration-Method. Valid values:
create-new-key,use-existing-key. - est
Server string[]Certs - Est-Server-Cert.
- est
Server stringUrl - Est-Server-Url.
- est
Srp string[]Passwords - Est-Srp-Password.
- est
Srp stringUsername - Est-Srp-Username.
- id
Type string - Id-Type. Valid values:
host-ip,domain-name,email. - key
Size string - Key-Size. Valid values:
512,1024,1536,2048,4096. - key
Type string - Key-Type. Valid values:
rsa,ec. - name string
- Name.
- object
Certificate stringTemplate Id - an identifier for the resource with format {{name}}.
- organization string
- Organization.
- organization
Units string[] - Organization-Unit.
- scep
Ca stringIdentifier - Scep-Ca-Identifier.
- scep
Passwords string[] - Scep-Password.
- scep
Server string - Scep-Server.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - source
Ip string - Source-Ip.
- state string
- State.
- subject
Alt stringName - Support meta variable
- subject
Name string - Subject-Name.
- type string
- Type. Valid values:
external,local. - update
If booleanExist - validity number
- Validity.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, 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.
- enroll_
protocol str - Enroll-Protocol. Valid values:
scep,est. - est_
ca_ strid - Est-Ca-Id.
- est_
client_ Sequence[str]certs - Est-Client-Cert.
- est_
http_ Sequence[str]passwords - Est-Http-Password.
- est_
http_ strusername - Est-Http-Username.
- est_
regeneration_ strmethod - Est-Regeneration-Method. Valid values:
create-new-key,use-existing-key. - est_
server_ Sequence[str]certs - Est-Server-Cert.
- est_
server_ strurl - Est-Server-Url.
- est_
srp_ Sequence[str]passwords - Est-Srp-Password.
- est_
srp_ strusername - Est-Srp-Username.
- 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_ strtemplate_ id - an identifier for the resource with format {{name}}.
- organization str
- Organization.
- organization_
units Sequence[str] - Organization-Unit.
- scep_
ca_ stridentifier - 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - source_
ip str - Source-Ip.
- state str
- State.
- subject_
alt_ strname - Support meta variable
- subject_
name str - Subject-Name.
- type str
- Type. Valid values:
external,local. - update_
if_ boolexist - validity float
- Validity.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - city String
- City.
- country String
- Country.
- curve
Name String - Curve-Name. Valid values:
secp256r1,secp384r1,secp521r1. - digest
Type String - Digest-Type. Valid values:
sha1,sha256. - email String
- Email.
- enroll
Protocol String - Enroll-Protocol. Valid values:
scep,est. - est
Ca StringId - Est-Ca-Id.
- est
Client List<String>Certs - Est-Client-Cert.
- est
Http List<String>Passwords - Est-Http-Password.
- est
Http StringUsername - Est-Http-Username.
- est
Regeneration StringMethod - Est-Regeneration-Method. Valid values:
create-new-key,use-existing-key. - est
Server List<String>Certs - Est-Server-Cert.
- est
Server StringUrl - Est-Server-Url.
- est
Srp List<String>Passwords - Est-Srp-Password.
- est
Srp StringUsername - Est-Srp-Username.
- id
Type String - Id-Type. Valid values:
host-ip,domain-name,email. - key
Size String - Key-Size. Valid values:
512,1024,1536,2048,4096. - key
Type String - Key-Type. Valid values:
rsa,ec. - name String
- Name.
- object
Certificate StringTemplate Id - an identifier for the resource with format {{name}}.
- organization String
- Organization.
- organization
Units List<String> - Organization-Unit.
- scep
Ca StringIdentifier - Scep-Ca-Identifier.
- scep
Passwords List<String> - Scep-Password.
- scep
Server String - Scep-Server.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - source
Ip String - Source-Ip.
- state String
- State.
- subject
Alt StringName - Support meta variable
- subject
Name String - Subject-Name.
- type String
- Type. Valid values:
external,local. - update
If BooleanExist - validity Number
- Validity.
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}}
$ 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
fortimanagerTerraform Provider.
published on Thursday, Sep 17, 2026 by fortinetdev