vcf_vcfops_fleet_passwords¶
Execution module for VCF Operations fleet password management.
- saltext.vcf.modules.vcf_vcfops_fleet_passwords.query_accounts(appliance=None, appliance_fqdn=None, status=None, username=None, vcf_domain_id=None, page=0, page_size=10, sort_by=None, sort_order=None, profile=None)[source]¶
Raw paginated password-account search.
Returns the unmodified
VcfPasswordAccountsResponse. Most callers wantlist_().CLI Example:
salt '*' vcf_vcfops_fleet_passwords.query_accounts status=EXPIRING
- saltext.vcf.modules.vcf_vcfops_fleet_passwords.list_(appliance=None, appliance_fqdn=None, status=None, username=None, vcf_domain_id=None, profile=None)[source]¶
List every managed password account.
Returns
{"accounts": [...], "totalCount": N}. Each account is enriched with anexpiryDateIsofield.CLI Example:
salt '*' vcf_vcfops_fleet_passwords.list_ salt '*' vcf_vcfops_fleet_passwords.list_ appliance=NSXT_EDGE
- saltext.vcf.modules.vcf_vcfops_fleet_passwords.get_account(password_account_key, profile=None)[source]¶
Return one password account by
passwordAccountKey, orNone.CLI Example:
salt '*' vcf_vcfops_fleet_passwords.get_account <password_account_key>
- saltext.vcf.modules.vcf_vcfops_fleet_passwords.check_expiry(threshold_days=90, appliance=None, appliance_fqdn=None, vcf_domain_id=None, profile=None)[source]¶
Categorize accounts into
ok/expiring/noExpirybuckets.threshold_days — accounts within this many days of expiry land in
expiring(including already-expired accounts). Default 90.CLI Example:
salt '*' vcf_vcfops_fleet_passwords.check_expiry salt '*' vcf_vcfops_fleet_passwords.check_expiry threshold_days=30
- saltext.vcf.modules.vcf_vcfops_fleet_passwords.update(password_account_key, current_password, new_password, username=None, profile=None)[source]¶
Rotate a managed password.
Returns the
WorkflowRequestfor the async rotation job.CLI Example:
salt '*' vcf_vcfops_fleet_passwords.update <password_account_key> <current_password> <new_password>