vcf_vcfa_iam
Execution module for VCF Automation IAM role bindings.
-
saltext.vcf.modules.vcf_vcfa_iam.list_orgs(profile=None)[source]
List orgs the caller can see.
CLI Example:
salt '*' vcf_vcfa_iam.list_orgs
-
saltext.vcf.modules.vcf_vcfa_iam.get_org(org_id, profile=None)[source]
Get org metadata.
-
saltext.vcf.modules.vcf_vcfa_iam.get_org_or_none(org_id, profile=None)[source]
Get org metadata, or None on 404.
-
saltext.vcf.modules.vcf_vcfa_iam.list_users(org_id, profile=None)[source]
List users in an org.
-
saltext.vcf.modules.vcf_vcfa_iam.get_user_roles(org_id, user_id, profile=None)[source]
List role bindings for a user in an org.
-
saltext.vcf.modules.vcf_vcfa_iam.patch_user_roles(org_id, user_id, add=None, remove=None, profile=None)[source]
Add/remove role bindings on a user.
CLI Example:
salt '*' vcf_vcfa_iam.patch_user_roles <org_id> <user_id> add='[{"name": "...", "resource": "..."}]'