Skip to content

Commit

Permalink
updating ike_crypto_profile docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shinmog committed Jan 10, 2022
1 parent 14520fe commit 7cf85f0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 65 deletions.
30 changes: 23 additions & 7 deletions docs/resources/ike_crypto_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ This resource allows you to add/update/delete IKE crypto profiles.

## PAN-OS

NGFW
NGFW and Panorama


## Aliases

* `panos_panorama_ike_crypto_profile`


## Import Name

```
<name>
<template>:<template_stack>:<name>
```


Expand All @@ -25,8 +30,14 @@ NGFW
```hcl
resource "panos_ike_crypto_profile" "example" {
name = "example"
dh_groups = ["group1", "group2"]
authentications = ["md5", "sha1"]
dh_groups = [
"group1",
"group2",
]
authentications = [
"md5",
"sha1",
]
encryptions = ["des"]
lifetime_value = 8
authentication_multiple = 3
Expand All @@ -35,6 +46,11 @@ resource "panos_ike_crypto_profile" "example" {

## Argument Reference

Panorama only:

* `template` - The template name.
* `template_stack` - The template stack name.

The following arguments are supported:

* `name` - (Required) The object's name
Expand All @@ -44,9 +60,9 @@ The following arguments are supported:
* `encryptions` - (Required, list) List of encryption types. Valid values
are `des`, `3des`, `aes-128-cbc`, `aes-192-cbc`, `aes-256-cbc`,
`aes-128-gcm` (PAN-OS 10.0), and `aes-256-gcm` (PAN-OS 10.0).
* `lifetime_type` - (Optional) The lifetime type. Valid values are `seconds`,
* `lifetime_type` - The lifetime type. Valid values are `seconds`,
`minutes`, `hours` (the default), and `days`.
* `lifetime_value` - (Optional, int) The lifetime value.
* `authentication_multiple` - (Optional, PAN-OS 7.0+, int) IKEv2 SA
* `lifetime_value` - (int) The lifetime value.
* `authentication_multiple` - (PAN-OS 7.0+, int) IKEv2 SA
reauthentication interval equals authetication-multiple * rekey-lifetime; 0
means reauthentication is disabled.
59 changes: 1 addition & 58 deletions docs/resources/panorama_ike_crypto_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,61 +3,4 @@ page_title: "panos: panos_panorama_ike_crypto_profile"
subcategory: "Network"
---

# panos_panorama_ike_crypto_profile

This resource allows you to add/update/delete Panorama IKE crypto profiles
to a template or template stack.


## PAN-OS

Panorama


## Import Name

```
<template>:<template_stack>:<name>
```


## Example Usage

```hcl
resource "panos_panorama_ike_crypto_profile" "example" {
template = panos_panorama_template.t.name
name = "example"
dh_groups = ["group1", "group2"]
authentications = ["md5", "sha1"]
encryptions = ["des"]
lifetime_value = 8
authentication_multiple = 3
}
resource "panos_panorama_template" "t" {
name = "some template"
}
```

## Argument Reference

One and only one of the following must be specified:

* `template` - The template name.
* `template_stack` - The template stack name.

The following arguments are supported:

* `name` - (Required) The object's name
* `dh_groups` - (Required, list) List of DH Group entries. Values should
have a prefix if `group`.
* `authentications` - (Required, list) List of authentication types. This c
* `encryptions` - (Required, list) List of encryption types. Valid values
are `des`, `3des`, `aes-128-cbc`, `aes-192-cbc`, `aes-256-cbc`,
`aes-128-gcm` (PAN-OS 10.0), and `aes-256-gcm` (PAN-OS 10.0).
* `lifetime_type` - (Optional) The lifetime type. Valid values are `seconds`,
`minutes`, `hours` (the default), and `days`.
* `lifetime_value` - (Optional, int) The lifetime value.
* `authentication_multiple` - (Optional, PAN-OS 7.0+, int) IKEv2 SA
reauthentication interval equals authetication-multiple * rekey-lifetime; 0
means reauthentication is disabled.
See [`panos_ike_crypto_profile`](ike_crypto_profile.html).

0 comments on commit 7cf85f0

Please sign in to comment.