vcfa_custom_role

VCF Automation — custom roles (/iam/api/roles).

Custom roles bundle CSP service permissions into a named, assignable unit. The role definitions live in the IAM service; bindings are handled in saltext.vcf.clients.vcfa_iam.

saltext.vcf.clients.vcfa_custom_role.create(opts, spec, profile=None)[source]

Create a custom role.

spec keys: name, displayName, description, rolePermissions (list of CSP permission strings), orgId.