> For the complete documentation index, see [llms.txt](https://newdocs.keeper.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://newdocs.keeper.io/en/release-notes/enterprise/terraform-providers/commander-terraform-1.2.md).

# Commander Terraform 1.2

This release brings KeeperPAM infrastructure provisioning to Terraform. Teams can now define PAM Configurations, PAM resource records (machines, users, databases, directories, and remote browsers), and Keeper Secrets Manager applications entirely as code — alongside expanded folder management that adds Nested Shared Folders and non-shared (private) folders. Together, these additions enable end-to-end, declarative deployment of privileged access environments, from Gateway configuration through target resources and credential sharing.

### **New Capabilities**

#### KeeperPAM

* New `commander_pam_configuration` resource and data source — define PAM Configurations (environment, Gateway association, rotation schedules, port mappings) and enable capabilities like connections, tunneling, rotation, remote browser isolation, and session/typescript recording as code.

#### Classic PAM Records

* New resources and data sources for all classic PAM record types: `commander_classic_pam_machine`, `commander_classic_pam_user`, `commander_classic_pam_database`, `commander_classic_pam_directory`, and `commander_classic_pam_remote_browser`
* Each supports full PAM settings and per-user share permissions directly in your Terraform configuration.

#### Secrets Manager

* New `commander_secrets_manager` resource and data source — create and manage Keeper Secrets Manager applications, including application users and secret/folder shares with editability controls.

#### Folder Management

* New `commander_new_folder` resource and data source for Nested Shared Folders (NSF)
* New `commander_non_shared_folder` resource and data source for private (non-shared) folders
* Enhanced `commander_shared_folder` (classic): new `folder_location` attribute for placing folders under a parent path, plus support for granting permissions to teams (by name or UID) in addition to users.

### Resources

* [Terraform Documentation](https://registry.terraform.io/providers/Keeper-Security/commander/latest/docs)
* [Keeper Documentation](/en/keeperpam/secrets-manager/integrations/terraform-provider-commander.md)
* [Github Repo](https://github.com/Keeper-Security/terraform-provider-commander)
* [Github Release](https://github.com/Keeper-Security/terraform-provider-commander/releases/tag/v1.2.0)
* [Commander Service Mode REST API](/en/keeperpam/commander-cli/service-mode-rest-api.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://newdocs.keeper.io/en/release-notes/enterprise/terraform-providers/commander-terraform-1.2.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
