The commvault_security_association Terraform Resource

Updated

On this page

Use the commvault_security_association resource type to manage client security associations in the CommCell environment.

Syntax

resource "commvault_security_association" "<local_name>"{

client_list = ["<list client names>"] //add client names enclosed in quotes and separated by comma

user_group_name = "<user group name>"

permissions_list = ["<List permission names>"] //add permission names enclosed in quotes and separated by comma

}

Where local name is the name that is used by the Commvault Terraform module to refer to the resource and has no significance in the target platform.

Arguments

Name

Description

Required

client_list

The clients that you want to manage the security associations for.

Yes

user_group_name

The name of the user group that you want to assign the clients to.

Yes

permissions_list

The permissions that you want to associate.

Yes

Example

The following resource block manages the security association for the hypdemo client:

resource "commvault_security_association" "asso"{

client_list = ["Hypdemo"]

user_group_name = "CompanyAlias\\Tenant Admin"

permissions_list = ["Agent Management"]

}