Skip to content

Conversation

@kklimonda-cl
Copy link
Contributor

Add Password Profile Resource

Terraform Resource Name

panos_password_profile

Resource Overview

This resource manages password profiles for PAN-OS devices. Password profiles control password expiration, warning periods, and grace period settings for administrative accounts.

Supported Locations:

  • panorama - Panorama device configuration
  • ngfw - Firewall device configuration
  • template - Panorama template configuration
  • template-stack - Panorama template stack configuration

Parameters

Renamed/Overridden Parameters

No parameters have been renamed from their PAN-OS XML names.

All Parameters

Parameter Type Description Constraints
name string Name of the password profile Required
password_change object Password change settings Optional
password_change.expiration_period int64 Password expiry days 0-365, default: 0
password_change.expiration_warning_period int64 Password expiry warning period 0-30, default: 0
password_change.post_expiration_admin_login_count int64 Password post-expiry admin login count 0-3, default: 0
password_change.post_expiration_grace_period int64 Password post-expiry grace period 0-30, default: 0

Example Usage

  resource "panos_password_profile" "example" {
    location = { template = { name = "my-template" } }

    name = "example-password-profile"

    password_change = {
      expiration_period                  = 90
      expiration_warning_period          = 7
      post_expiration_admin_login_count  = 3
      post_expiration_grace_period       = 5
    }
  }

@kklimonda-cl kklimonda-cl linked an issue Nov 24, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Password Profile

2 participants