-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a6d466
commit f672534
Showing
5 changed files
with
102 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,5 @@ | ||
# routeros_certificate_scep_server (Resource) | ||
--- | ||
|
||
|
||
## Example Usage | ||
```terraform | ||
resource "routeros_system_certificate" "example_root_ca" { | ||
name = "example_root_ca" | ||
common_name = "Example Root CA" | ||
key_usage = ["key-cert-sign", "crl-sign"] | ||
trusted = true | ||
sign { | ||
} | ||
} | ||
resource "routeros_certificate_scep_server" "example_scep_server" { | ||
ca_cert = routeros_system_certificate.example_root_ca.name | ||
path = "/scep/example_scep_server" | ||
days_valid = 30 | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `ca_cert` (String) Name of the CA certificate to use. | ||
- `path` (String) HTTP path starting with `/scep/`. | ||
|
||
### Optional | ||
|
||
- `days_valid` (Number) The number of days to sign certificates for. | ||
- `disabled` (Boolean) | ||
- `next_ca_cert` (String) Name of the next CA certificate or `none`. | ||
- `request_lifetime` (String) Request lifetime (5m minimum). | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
## Import | ||
Import is supported using the following syntax: | ||
```shell | ||
# The ID can be found via API or the terminal | ||
# The command for the terminal is -> /certificate/scep-server/print show-ids | ||
terraform import routeros_certificate_scep_server.example_scep_server "*1" | ||
``` | ||
#### This is an alias for backwards compatibility between plugin versions. | ||
Please see documentation for [routeros_system_certificate_scep_server](system_certificate_scep_server.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# routeros_system_certificate_scep_server (Resource) | ||
|
||
|
||
## Example Usage | ||
```terraform | ||
resource "routeros_system_certificate" "example_root_ca" { | ||
name = "example_root_ca" | ||
common_name = "Example Root CA" | ||
key_usage = ["key-cert-sign", "crl-sign"] | ||
trusted = true | ||
sign { | ||
} | ||
} | ||
# You can also use the alias "routeros_certificate_scep_server" | ||
resource "routeros_system_certificate_scep_server" "example_scep_server" { | ||
ca_cert = routeros_system_certificate.example_root_ca.name | ||
path = "/scep/example_scep_server" | ||
days_valid = 30 | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `ca_cert` (String) Name of the CA certificate to use. | ||
- `path` (String) HTTP path starting with `/scep/`. | ||
|
||
### Optional | ||
|
||
- `days_valid` (Number) The number of days to sign certificates for. | ||
- `disabled` (Boolean) | ||
- `next_ca_cert` (String) Name of the next CA certificate or `none`. | ||
- `request_lifetime` (String) Request lifetime (5m minimum). | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
## Import | ||
Import is supported using the following syntax: | ||
```shell | ||
# The ID can be found via API or the terminal | ||
# The command for the terminal is -> /certificate/scep-server/print show-ids | ||
terraform import routeros_system_certificate_scep_server.example_scep_server "*1" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# routeros_system_logging_action (Resource) | ||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) Name of an action. | ||
- `target` (String) Storage facility or target of log messages. | ||
|
||
### Optional | ||
|
||
- `bsd_syslog` (Boolean) Whether to use bsd-syslog as defined in RFC 3164. | ||
- `disk_file_count` (Number) Specifies number of files used to store log messages, applicable only if `action=disk`. | ||
- `disk_file_name` (String) Name of the file used to store log messages, applicable only if `action=disk`. | ||
- `disk_lines_per_file` (Number) Specifies maximum size of file in lines, applicable only if `action=disk`. | ||
- `disk_stop_on_full` (Boolean) Whether to stop to save log messages to disk after the specified disk-lines-per-file and disk-file-count number is reached, applicable only if `action=disk`. | ||
- `email_start_tls` (Boolean) Whether to use tls when sending email, applicable only if `action=email`. | ||
- `email_to` (String) Email address where logs are sent, applicable only if `action=email`. | ||
- `memory_lines` (Number) Number of records in local memory buffer, applicable only if `action=memory`. | ||
- `memory_stop_on_full` (Boolean) Whether to stop to save log messages in local buffer after the specified memory-lines number is reached. | ||
- `remember` (Boolean) Whether to keep log messages, which have not yet been displayed in console, applicable if `action=echo`. | ||
- `remote` (String) Remote logging server's IP/IPv6 address, applicable if `action=remote`. | ||
- `remote_port` (Number) Remote logging server's UDP port, applicable if `action=remote`. | ||
- `src_address` (String) Source address used when sending packets to remote server, applicable if `action=remote`. | ||
- `syslog_facility` (String) SYSLOG facility, applicable if `action=remote`. | ||
- `syslog_severity` (String) Severity level indicator defined in RFC 3164, applicable if `action=remote`. | ||
- `syslog_time_format` (String) SYSLOG time format (`bsd-syslog` or `iso8601`). | ||
|
||
### Read-Only | ||
|
||
- `default` (Boolean) This is a default action. | ||
- `id` (String) The ID of this resource. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters