Skip to content

Commit

Permalink
chore(release): 1.51.0
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed May 21, 2024
1 parent 647e82b commit 09d2694
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## [1.51.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.50.0...v1.51.0) (2024-05-21)


### Features

* **x509:** Datasource for PEM data normalization and common_name extraction ([5f29176](https://github.com/terraform-routeros/terraform-provider-routeros/commit/5f29176d8109379bea87eeb65e8b49cbbc0ceffb))
* **x509:** Import certificates ([5a3bf8e](https://github.com/terraform-routeros/terraform-provider-routeros/commit/5a3bf8ed177e984a7b52322bd70a25431bfb42cd)), closes [#448](https://github.com/terraform-routeros/terraform-provider-routeros/issues/448)

## [1.50.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.49.0...v1.50.0) (2024-05-17)


Expand Down
33 changes: 33 additions & 0 deletions docs/data-sources/x509.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# routeros_x509 (Data Source)




<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `data` (String) X509 certificate in PEM format.

### Read-Only

- `akid` (String)
- `authority` (Boolean)
- `common_name` (String)
- `digest_algorithm` (String)
- `fingerprint` (String)
- `id` (String) The ID of this resource.
- `invalid_after` (String)
- `invalid_before` (String)
- `issuer` (String)
- `key_type` (String)
- `pem` (String)
- `serial_number` (String)
- `signature_algorithm` (String)
- `skid` (String)
- `subject` (String)
- `subject_alt_name` (String)
- `version` (Number)


14 changes: 14 additions & 0 deletions docs/resources/system_certificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ resource "routeros_system_certificate" "scep_client" {
- `copy_from` (String)
- `country` (String) Country Name (2 letter code).
- `days_valid` (Number) Certificate lifetime.
- `import` (Block Set) (see [below for nested schema](#nestedblock--import))
- `key_size` (String)
- `key_usage` (Set of String) Detailed key usage descriptions can be found in RFC 5280.
- `locality` (String) Locality Name (eg, city).
Expand Down Expand Up @@ -109,6 +110,19 @@ resource "routeros_system_certificate" "scep_client" {
- `smart_card_key` (String)
- `status` (String) Shows current status of scep client.

<a id="nestedblock--import"></a>
### Nested Schema for `import`

Required:

- `cert_file_name` (String) Certificate file name that will be imported.

Optional:

- `key_file_name` (String) Key file name that will be imported.
- `passphrase` (String, Sensitive) File passphrase if there is such.


<a id="nestedblock--sign"></a>
### Nested Schema for `sign`

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "terraform-provider-routeros",
"version": "1.50.0",
"version": "1.51.0",
"repository": {
"type": "git",
"url": "https://github.com/terraform-routeros/terraform-provider-routeros"
Expand Down

0 comments on commit 09d2694

Please sign in to comment.