routeros.SystemCertificate
Explore with Pulumi AI
# routeros.SystemCertificate (Resource)
Certificate resource management consists of two independent processes:
- key creation and certificate signing request (
key
+csr
) - certificate signing by the issuer (
crt
)
For a complete certificate creation cycle, both of the above steps must be performed. In this case the sign {}
block must be specified in the configuration.
If you need to import the current state of the certificate resource, then do not specify the sign{}
block.
Importing an external certificate is also done without specifying the sign{}
block, because the certificate should have already been signed by the issuer at this step.
Create SystemCertificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SystemCertificate(name: string, args: SystemCertificateArgs, opts?: CustomResourceOptions);
@overload
def SystemCertificate(resource_name: str,
args: SystemCertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SystemCertificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
common_name: Optional[str] = None,
locality: Optional[str] = None,
name: Optional[str] = None,
___path_: Optional[str] = None,
___id_: Optional[float] = None,
country: Optional[str] = None,
days_valid: Optional[float] = None,
import_: Optional[SystemCertificateImportArgs] = None,
key_size: Optional[str] = None,
___skip_: Optional[str] = None,
key_usages: Optional[Sequence[str]] = None,
copy_from: Optional[str] = None,
organization: Optional[str] = None,
sign_via_sceps: Optional[Sequence[SystemCertificateSignViaScepArgs]] = None,
signs: Optional[Sequence[SystemCertificateSignArgs]] = None,
state: Optional[str] = None,
subject_alt_name: Optional[str] = None,
system_certificate_id: Optional[str] = None,
trusted: Optional[bool] = None,
unit: Optional[str] = None)
func NewSystemCertificate(ctx *Context, name string, args SystemCertificateArgs, opts ...ResourceOption) (*SystemCertificate, error)
public SystemCertificate(string name, SystemCertificateArgs args, CustomResourceOptions? opts = null)
public SystemCertificate(String name, SystemCertificateArgs args)
public SystemCertificate(String name, SystemCertificateArgs args, CustomResourceOptions options)
type: routeros:SystemCertificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SystemCertificateArgs
- 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 SystemCertificateArgs
- 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 SystemCertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SystemCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SystemCertificateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SystemCertificate 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 SystemCertificate resource accepts the following input properties:
- Common
Name string - Common Name (e.g. server FQDN or YOUR name).
- Copy
From string - Country string
- Country Name (2 letter code).
- Days
Valid double - Certificate lifetime.
- Import
System
Certificate Import - Key
Size string - Key
Usages List<string> - Detailed key usage descriptions can be found in RFC 5280.
- Locality string
- Locality Name (eg, city).
- Name string
- Name of the certificate. Name can be edited.
- Organization string
- Organizational Unit Name (eg, section)
- Sign
Via List<SystemSceps Certificate Sign Via Scep> - Signs
List<System
Certificate Sign> - State string
- State or Province Name (full name).
- Subject
Alt stringName - SANs (subject alternative names).
- System
Certificate stringId - The ID of this resource.
- Trusted bool
- If set to yes certificate is included 'in trusted certificate chain'.
- Unit string
- Organizational Unit Name (eg, section).
- ___
id_ double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- Common
Name string - Common Name (e.g. server FQDN or YOUR name).
- Copy
From string - Country string
- Country Name (2 letter code).
- Days
Valid float64 - Certificate lifetime.
- Import
System
Certificate Import Args - Key
Size string - Key
Usages []string - Detailed key usage descriptions can be found in RFC 5280.
- Locality string
- Locality Name (eg, city).
- Name string
- Name of the certificate. Name can be edited.
- Organization string
- Organizational Unit Name (eg, section)
- Sign
Via []SystemSceps Certificate Sign Via Scep Args - Signs
[]System
Certificate Sign Args - State string
- State or Province Name (full name).
- Subject
Alt stringName - SANs (subject alternative names).
- System
Certificate stringId - The ID of this resource.
- Trusted bool
- If set to yes certificate is included 'in trusted certificate chain'.
- Unit string
- Organizational Unit Name (eg, section).
- ___
id_ float64 - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- common
Name String - Common Name (e.g. server FQDN or YOUR name).
- ___
id_ Double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- copy
From String - country String
- Country Name (2 letter code).
- days
Valid Double - Certificate lifetime.
- import_
System
Certificate Import - key
Size String - key
Usages List<String> - Detailed key usage descriptions can be found in RFC 5280.
- locality String
- Locality Name (eg, city).
- name String
- Name of the certificate. Name can be edited.
- organization String
- Organizational Unit Name (eg, section)
- sign
Via List<SystemSceps Certificate Sign Via Scep> - signs
List<System
Certificate Sign> - state String
- State or Province Name (full name).
- subject
Alt StringName - SANs (subject alternative names).
- system
Certificate StringId - The ID of this resource.
- trusted Boolean
- If set to yes certificate is included 'in trusted certificate chain'.
- unit String
- Organizational Unit Name (eg, section).
- common
Name string - Common Name (e.g. server FQDN or YOUR name).
- ___
id_ number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- copy
From string - country string
- Country Name (2 letter code).
- days
Valid number - Certificate lifetime.
- import
System
Certificate Import - key
Size string - key
Usages string[] - Detailed key usage descriptions can be found in RFC 5280.
- locality string
- Locality Name (eg, city).
- name string
- Name of the certificate. Name can be edited.
- organization string
- Organizational Unit Name (eg, section)
- sign
Via SystemSceps Certificate Sign Via Scep[] - signs
System
Certificate Sign[] - state string
- State or Province Name (full name).
- subject
Alt stringName - SANs (subject alternative names).
- system
Certificate stringId - The ID of this resource.
- trusted boolean
- If set to yes certificate is included 'in trusted certificate chain'.
- unit string
- Organizational Unit Name (eg, section).
- common_
name str - Common Name (e.g. server FQDN or YOUR name).
- ___
id_ float - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ str - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ str - A set of transformations for field names. This is an internal service field, setting a value is not required.
- copy_
from str - country str
- Country Name (2 letter code).
- days_
valid float - Certificate lifetime.
- import_
System
Certificate Import Args - key_
size str - key_
usages Sequence[str] - Detailed key usage descriptions can be found in RFC 5280.
- locality str
- Locality Name (eg, city).
- name str
- Name of the certificate. Name can be edited.
- organization str
- Organizational Unit Name (eg, section)
- sign_
via_ Sequence[Systemsceps Certificate Sign Via Scep Args] - signs
Sequence[System
Certificate Sign Args] - state str
- State or Province Name (full name).
- subject_
alt_ strname - SANs (subject alternative names).
- system_
certificate_ strid - The ID of this resource.
- trusted bool
- If set to yes certificate is included 'in trusted certificate chain'.
- unit str
- Organizational Unit Name (eg, section).
- common
Name String - Common Name (e.g. server FQDN or YOUR name).
- ___
id_ Number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- copy
From String - country String
- Country Name (2 letter code).
- days
Valid Number - Certificate lifetime.
- import Property Map
- key
Size String - key
Usages List<String> - Detailed key usage descriptions can be found in RFC 5280.
- locality String
- Locality Name (eg, city).
- name String
- Name of the certificate. Name can be edited.
- organization String
- Organizational Unit Name (eg, section)
- sign
Via List<Property Map>Sceps - signs List<Property Map>
- state String
- State or Province Name (full name).
- subject
Alt StringName - SANs (subject alternative names).
- system
Certificate StringId - The ID of this resource.
- trusted Boolean
- If set to yes certificate is included 'in trusted certificate chain'.
- unit String
- Organizational Unit Name (eg, section).
Outputs
All input properties are implicitly available as output properties. Additionally, the SystemCertificate resource produces the following output properties:
- Akid string
- Authority Key Identifier.
- string
- Ca string
- Ca
Crl stringHost - Ca
Fingerprint string - Challenge
Password string - A challenge password for scep client.
- Crl string
- Digest
Algorithm bool - Dsa bool
- Expired bool
- Set to true if certificate is expired.
- Expires
After string - Fingerprint string
- Id string
- The provider-assigned unique ID for this managed resource.
- Invalid
After string - The date after which certificate wil be invalid.
- Invalid
Before string - The date before which certificate is invalid.
- Issued string
- Issuer string
- Key
Type string - Private
Key bool - Req
Fingerprint string - Revoked string
- Scep
Url string - Serial
Number string - Skid string
- Subject Key Identifier.
- Smart
Card stringKey - Status string
- Shows current status of scep client.
- Akid string
- Authority Key Identifier.
- string
- Ca string
- Ca
Crl stringHost - Ca
Fingerprint string - Challenge
Password string - A challenge password for scep client.
- Crl string
- Digest
Algorithm bool - Dsa bool
- Expired bool
- Set to true if certificate is expired.
- Expires
After string - Fingerprint string
- Id string
- The provider-assigned unique ID for this managed resource.
- Invalid
After string - The date after which certificate wil be invalid.
- Invalid
Before string - The date before which certificate is invalid.
- Issued string
- Issuer string
- Key
Type string - Private
Key bool - Req
Fingerprint string - Revoked string
- Scep
Url string - Serial
Number string - Skid string
- Subject Key Identifier.
- Smart
Card stringKey - Status string
- Shows current status of scep client.
- akid String
- Authority Key Identifier.
- String
- ca String
- ca
Crl StringHost - ca
Fingerprint String - challenge
Password String - A challenge password for scep client.
- crl String
- digest
Algorithm Boolean - dsa Boolean
- expired Boolean
- Set to true if certificate is expired.
- expires
After String - fingerprint String
- id String
- The provider-assigned unique ID for this managed resource.
- invalid
After String - The date after which certificate wil be invalid.
- invalid
Before String - The date before which certificate is invalid.
- issued String
- issuer String
- key
Type String - private
Key Boolean - req
Fingerprint String - revoked String
- scep
Url String - serial
Number String - skid String
- Subject Key Identifier.
- smart
Card StringKey - status String
- Shows current status of scep client.
- akid string
- Authority Key Identifier.
- string
- ca string
- ca
Crl stringHost - ca
Fingerprint string - challenge
Password string - A challenge password for scep client.
- crl string
- digest
Algorithm boolean - dsa boolean
- expired boolean
- Set to true if certificate is expired.
- expires
After string - fingerprint string
- id string
- The provider-assigned unique ID for this managed resource.
- invalid
After string - The date after which certificate wil be invalid.
- invalid
Before string - The date before which certificate is invalid.
- issued string
- issuer string
- key
Type string - private
Key boolean - req
Fingerprint string - revoked string
- scep
Url string - serial
Number string - skid string
- Subject Key Identifier.
- smart
Card stringKey - status string
- Shows current status of scep client.
- akid str
- Authority Key Identifier.
- str
- ca str
- ca_
crl_ strhost - ca_
fingerprint str - challenge_
password str - A challenge password for scep client.
- crl str
- digest_
algorithm bool - dsa bool
- expired bool
- Set to true if certificate is expired.
- expires_
after str - fingerprint str
- id str
- The provider-assigned unique ID for this managed resource.
- invalid_
after str - The date after which certificate wil be invalid.
- invalid_
before str - The date before which certificate is invalid.
- issued str
- issuer str
- key_
type str - private_
key bool - req_
fingerprint str - revoked str
- scep_
url str - serial_
number str - skid str
- Subject Key Identifier.
- smart_
card_ strkey - status str
- Shows current status of scep client.
- akid String
- Authority Key Identifier.
- String
- ca String
- ca
Crl StringHost - ca
Fingerprint String - challenge
Password String - A challenge password for scep client.
- crl String
- digest
Algorithm Boolean - dsa Boolean
- expired Boolean
- Set to true if certificate is expired.
- expires
After String - fingerprint String
- id String
- The provider-assigned unique ID for this managed resource.
- invalid
After String - The date after which certificate wil be invalid.
- invalid
Before String - The date before which certificate is invalid.
- issued String
- issuer String
- key
Type String - private
Key Boolean - req
Fingerprint String - revoked String
- scep
Url String - serial
Number String - skid String
- Subject Key Identifier.
- smart
Card StringKey - status String
- Shows current status of scep client.
Look up Existing SystemCertificate Resource
Get an existing SystemCertificate 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?: SystemCertificateState, opts?: CustomResourceOptions): SystemCertificate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
___skip_: Optional[str] = None,
akid: Optional[str] = None,
authority: Optional[str] = None,
ca: Optional[str] = None,
ca_crl_host: Optional[str] = None,
ca_fingerprint: Optional[str] = None,
challenge_password: Optional[str] = None,
common_name: Optional[str] = None,
copy_from: Optional[str] = None,
country: Optional[str] = None,
crl: Optional[str] = None,
days_valid: Optional[float] = None,
digest_algorithm: Optional[bool] = None,
dsa: Optional[bool] = None,
expired: Optional[bool] = None,
expires_after: Optional[str] = None,
fingerprint: Optional[str] = None,
import_: Optional[SystemCertificateImportArgs] = None,
invalid_after: Optional[str] = None,
invalid_before: Optional[str] = None,
issued: Optional[str] = None,
issuer: Optional[str] = None,
key_size: Optional[str] = None,
key_type: Optional[str] = None,
key_usages: Optional[Sequence[str]] = None,
locality: Optional[str] = None,
name: Optional[str] = None,
organization: Optional[str] = None,
private_key: Optional[bool] = None,
req_fingerprint: Optional[str] = None,
revoked: Optional[str] = None,
scep_url: Optional[str] = None,
serial_number: Optional[str] = None,
sign_via_sceps: Optional[Sequence[SystemCertificateSignViaScepArgs]] = None,
signs: Optional[Sequence[SystemCertificateSignArgs]] = None,
skid: Optional[str] = None,
smart_card_key: Optional[str] = None,
state: Optional[str] = None,
status: Optional[str] = None,
subject_alt_name: Optional[str] = None,
system_certificate_id: Optional[str] = None,
trusted: Optional[bool] = None,
unit: Optional[str] = None) -> SystemCertificate
func GetSystemCertificate(ctx *Context, name string, id IDInput, state *SystemCertificateState, opts ...ResourceOption) (*SystemCertificate, error)
public static SystemCertificate Get(string name, Input<string> id, SystemCertificateState? state, CustomResourceOptions? opts = null)
public static SystemCertificate get(String name, Output<String> id, SystemCertificateState state, CustomResourceOptions options)
resources: _: type: routeros:SystemCertificate get: 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.
- Akid string
- Authority Key Identifier.
- string
- Ca string
- Ca
Crl stringHost - Ca
Fingerprint string - Challenge
Password string - A challenge password for scep client.
- Common
Name string - Common Name (e.g. server FQDN or YOUR name).
- Copy
From string - Country string
- Country Name (2 letter code).
- Crl string
- Days
Valid double - Certificate lifetime.
- Digest
Algorithm bool - Dsa bool
- Expired bool
- Set to true if certificate is expired.
- Expires
After string - Fingerprint string
- Import
System
Certificate Import - Invalid
After string - The date after which certificate wil be invalid.
- Invalid
Before string - The date before which certificate is invalid.
- Issued string
- Issuer string
- Key
Size string - Key
Type string - Key
Usages List<string> - Detailed key usage descriptions can be found in RFC 5280.
- Locality string
- Locality Name (eg, city).
- Name string
- Name of the certificate. Name can be edited.
- Organization string
- Organizational Unit Name (eg, section)
- Private
Key bool - Req
Fingerprint string - Revoked string
- Scep
Url string - Serial
Number string - Sign
Via List<SystemSceps Certificate Sign Via Scep> - Signs
List<System
Certificate Sign> - Skid string
- Subject Key Identifier.
- Smart
Card stringKey - State string
- State or Province Name (full name).
- Status string
- Shows current status of scep client.
- Subject
Alt stringName - SANs (subject alternative names).
- System
Certificate stringId - The ID of this resource.
- Trusted bool
- If set to yes certificate is included 'in trusted certificate chain'.
- Unit string
- Organizational Unit Name (eg, section).
- ___
id_ double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- Akid string
- Authority Key Identifier.
- string
- Ca string
- Ca
Crl stringHost - Ca
Fingerprint string - Challenge
Password string - A challenge password for scep client.
- Common
Name string - Common Name (e.g. server FQDN or YOUR name).
- Copy
From string - Country string
- Country Name (2 letter code).
- Crl string
- Days
Valid float64 - Certificate lifetime.
- Digest
Algorithm bool - Dsa bool
- Expired bool
- Set to true if certificate is expired.
- Expires
After string - Fingerprint string
- Import
System
Certificate Import Args - Invalid
After string - The date after which certificate wil be invalid.
- Invalid
Before string - The date before which certificate is invalid.
- Issued string
- Issuer string
- Key
Size string - Key
Type string - Key
Usages []string - Detailed key usage descriptions can be found in RFC 5280.
- Locality string
- Locality Name (eg, city).
- Name string
- Name of the certificate. Name can be edited.
- Organization string
- Organizational Unit Name (eg, section)
- Private
Key bool - Req
Fingerprint string - Revoked string
- Scep
Url string - Serial
Number string - Sign
Via []SystemSceps Certificate Sign Via Scep Args - Signs
[]System
Certificate Sign Args - Skid string
- Subject Key Identifier.
- Smart
Card stringKey - State string
- State or Province Name (full name).
- Status string
- Shows current status of scep client.
- Subject
Alt stringName - SANs (subject alternative names).
- System
Certificate stringId - The ID of this resource.
- Trusted bool
- If set to yes certificate is included 'in trusted certificate chain'.
- Unit string
- Organizational Unit Name (eg, section).
- ___
id_ float64 - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
id_ Double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- akid String
- Authority Key Identifier.
- String
- ca String
- ca
Crl StringHost - ca
Fingerprint String - challenge
Password String - A challenge password for scep client.
- common
Name String - Common Name (e.g. server FQDN or YOUR name).
- copy
From String - country String
- Country Name (2 letter code).
- crl String
- days
Valid Double - Certificate lifetime.
- digest
Algorithm Boolean - dsa Boolean
- expired Boolean
- Set to true if certificate is expired.
- expires
After String - fingerprint String
- import_
System
Certificate Import - invalid
After String - The date after which certificate wil be invalid.
- invalid
Before String - The date before which certificate is invalid.
- issued String
- issuer String
- key
Size String - key
Type String - key
Usages List<String> - Detailed key usage descriptions can be found in RFC 5280.
- locality String
- Locality Name (eg, city).
- name String
- Name of the certificate. Name can be edited.
- organization String
- Organizational Unit Name (eg, section)
- private
Key Boolean - req
Fingerprint String - revoked String
- scep
Url String - serial
Number String - sign
Via List<SystemSceps Certificate Sign Via Scep> - signs
List<System
Certificate Sign> - skid String
- Subject Key Identifier.
- smart
Card StringKey - state String
- State or Province Name (full name).
- status String
- Shows current status of scep client.
- subject
Alt StringName - SANs (subject alternative names).
- system
Certificate StringId - The ID of this resource.
- trusted Boolean
- If set to yes certificate is included 'in trusted certificate chain'.
- unit String
- Organizational Unit Name (eg, section).
- ___
id_ number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- akid string
- Authority Key Identifier.
- string
- ca string
- ca
Crl stringHost - ca
Fingerprint string - challenge
Password string - A challenge password for scep client.
- common
Name string - Common Name (e.g. server FQDN or YOUR name).
- copy
From string - country string
- Country Name (2 letter code).
- crl string
- days
Valid number - Certificate lifetime.
- digest
Algorithm boolean - dsa boolean
- expired boolean
- Set to true if certificate is expired.
- expires
After string - fingerprint string
- import
System
Certificate Import - invalid
After string - The date after which certificate wil be invalid.
- invalid
Before string - The date before which certificate is invalid.
- issued string
- issuer string
- key
Size string - key
Type string - key
Usages string[] - Detailed key usage descriptions can be found in RFC 5280.
- locality string
- Locality Name (eg, city).
- name string
- Name of the certificate. Name can be edited.
- organization string
- Organizational Unit Name (eg, section)
- private
Key boolean - req
Fingerprint string - revoked string
- scep
Url string - serial
Number string - sign
Via SystemSceps Certificate Sign Via Scep[] - signs
System
Certificate Sign[] - skid string
- Subject Key Identifier.
- smart
Card stringKey - state string
- State or Province Name (full name).
- status string
- Shows current status of scep client.
- subject
Alt stringName - SANs (subject alternative names).
- system
Certificate stringId - The ID of this resource.
- trusted boolean
- If set to yes certificate is included 'in trusted certificate chain'.
- unit string
- Organizational Unit Name (eg, section).
- ___
id_ float - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ str - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ str - A set of transformations for field names. This is an internal service field, setting a value is not required.
- akid str
- Authority Key Identifier.
- str
- ca str
- ca_
crl_ strhost - ca_
fingerprint str - challenge_
password str - A challenge password for scep client.
- common_
name str - Common Name (e.g. server FQDN or YOUR name).
- copy_
from str - country str
- Country Name (2 letter code).
- crl str
- days_
valid float - Certificate lifetime.
- digest_
algorithm bool - dsa bool
- expired bool
- Set to true if certificate is expired.
- expires_
after str - fingerprint str
- import_
System
Certificate Import Args - invalid_
after str - The date after which certificate wil be invalid.
- invalid_
before str - The date before which certificate is invalid.
- issued str
- issuer str
- key_
size str - key_
type str - key_
usages Sequence[str] - Detailed key usage descriptions can be found in RFC 5280.
- locality str
- Locality Name (eg, city).
- name str
- Name of the certificate. Name can be edited.
- organization str
- Organizational Unit Name (eg, section)
- private_
key bool - req_
fingerprint str - revoked str
- scep_
url str - serial_
number str - sign_
via_ Sequence[Systemsceps Certificate Sign Via Scep Args] - signs
Sequence[System
Certificate Sign Args] - skid str
- Subject Key Identifier.
- smart_
card_ strkey - state str
- State or Province Name (full name).
- status str
- Shows current status of scep client.
- subject_
alt_ strname - SANs (subject alternative names).
- system_
certificate_ strid - The ID of this resource.
- trusted bool
- If set to yes certificate is included 'in trusted certificate chain'.
- unit str
- Organizational Unit Name (eg, section).
- ___
id_ Number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- akid String
- Authority Key Identifier.
- String
- ca String
- ca
Crl StringHost - ca
Fingerprint String - challenge
Password String - A challenge password for scep client.
- common
Name String - Common Name (e.g. server FQDN or YOUR name).
- copy
From String - country String
- Country Name (2 letter code).
- crl String
- days
Valid Number - Certificate lifetime.
- digest
Algorithm Boolean - dsa Boolean
- expired Boolean
- Set to true if certificate is expired.
- expires
After String - fingerprint String
- import Property Map
- invalid
After String - The date after which certificate wil be invalid.
- invalid
Before String - The date before which certificate is invalid.
- issued String
- issuer String
- key
Size String - key
Type String - key
Usages List<String> - Detailed key usage descriptions can be found in RFC 5280.
- locality String
- Locality Name (eg, city).
- name String
- Name of the certificate. Name can be edited.
- organization String
- Organizational Unit Name (eg, section)
- private
Key Boolean - req
Fingerprint String - revoked String
- scep
Url String - serial
Number String - sign
Via List<Property Map>Sceps - signs List<Property Map>
- skid String
- Subject Key Identifier.
- smart
Card StringKey - state String
- State or Province Name (full name).
- status String
- Shows current status of scep client.
- subject
Alt StringName - SANs (subject alternative names).
- system
Certificate StringId - The ID of this resource.
- trusted Boolean
- If set to yes certificate is included 'in trusted certificate chain'.
- unit String
- Organizational Unit Name (eg, section).
Supporting Types
SystemCertificateImport, SystemCertificateImportArgs
- Cert
File stringContent - Certificate in PEM format.
- Cert
File stringName - Certificate file name that will be imported.
- Key
File stringContent - Key in PEM format.
- Key
File stringName - Key file name that will be imported.
- Passphrase string
- File passphrase if there is such.
- Cert
File stringContent - Certificate in PEM format.
- Cert
File stringName - Certificate file name that will be imported.
- Key
File stringContent - Key in PEM format.
- Key
File stringName - Key file name that will be imported.
- Passphrase string
- File passphrase if there is such.
- cert
File StringContent - Certificate in PEM format.
- cert
File StringName - Certificate file name that will be imported.
- key
File StringContent - Key in PEM format.
- key
File StringName - Key file name that will be imported.
- passphrase String
- File passphrase if there is such.
- cert
File stringContent - Certificate in PEM format.
- cert
File stringName - Certificate file name that will be imported.
- key
File stringContent - Key in PEM format.
- key
File stringName - Key file name that will be imported.
- passphrase string
- File passphrase if there is such.
- cert_
file_ strcontent - Certificate in PEM format.
- cert_
file_ strname - Certificate file name that will be imported.
- key_
file_ strcontent - Key in PEM format.
- key_
file_ strname - Key file name that will be imported.
- passphrase str
- File passphrase if there is such.
- cert
File StringContent - Certificate in PEM format.
- cert
File StringName - Certificate file name that will be imported.
- key
File StringContent - Key in PEM format.
- key
File StringName - Key file name that will be imported.
- passphrase String
- File passphrase if there is such.
SystemCertificateSign, SystemCertificateSignArgs
- ca str
- Which CA to use if signing issued certificates.
- ca_
crl_ strhost - CRL host if issuing CA certificate.
SystemCertificateSignViaScep, SystemCertificateSignViaScepArgs
- Scep
Url string - HTTP URL to the SCEP server.
- Ca
Identity string - SCEP CA identity.
- Challenge
Password string - A challenge password.
- On
Smart boolCard - Whether to store a private key on smart card if hardware supports it.
- Refresh bool
- Check certificate expiration and refresh it if expired.
- Scep
Url string - HTTP URL to the SCEP server.
- Ca
Identity string - SCEP CA identity.
- Challenge
Password string - A challenge password.
- On
Smart boolCard - Whether to store a private key on smart card if hardware supports it.
- Refresh bool
- Check certificate expiration and refresh it if expired.
- scep
Url String - HTTP URL to the SCEP server.
- ca
Identity String - SCEP CA identity.
- challenge
Password String - A challenge password.
- on
Smart BooleanCard - Whether to store a private key on smart card if hardware supports it.
- refresh Boolean
- Check certificate expiration and refresh it if expired.
- scep
Url string - HTTP URL to the SCEP server.
- ca
Identity string - SCEP CA identity.
- challenge
Password string - A challenge password.
- on
Smart booleanCard - Whether to store a private key on smart card if hardware supports it.
- refresh boolean
- Check certificate expiration and refresh it if expired.
- scep_
url str - HTTP URL to the SCEP server.
- ca_
identity str - SCEP CA identity.
- challenge_
password str - A challenge password.
- on_
smart_ boolcard - Whether to store a private key on smart card if hardware supports it.
- refresh bool
- Check certificate expiration and refresh it if expired.
- scep
Url String - HTTP URL to the SCEP server.
- ca
Identity String - SCEP CA identity.
- challenge
Password String - A challenge password.
- on
Smart BooleanCard - Whether to store a private key on smart card if hardware supports it.
- refresh Boolean
- Check certificate expiration and refresh it if expired.
Import
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/certificate get [print show-ids]]
#If you plan to manipulate the certificate requiring signing, you need to correctly fill in the sign{} section.
#Changes in the sign{} section will not cause changes in the certificate. It’s not a bug, it’s a feature!
$ pulumi import routeros:index/systemCertificate:SystemCertificate client *9D
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- routeros terraform-routeros/terraform-provider-routeros
- License
- Notes
- This Pulumi package is based on the
routeros
Terraform Provider.