salt.runners.pki

Salt runner for PKI index management.

New in version 3009.0.

salt.runners.pki.rebuild_index(dry_run=False)

Rebuild the PKI mmap index from filesystem.

With dry_run=True, shows what would be rebuilt without making changes.

CLI Examples:

# Rebuild the index
salt-run pki.rebuild_index

# Check status without rebuilding (dry-run)
salt-run pki.rebuild_index dry_run=True
salt.runners.pki.status()

Show PKI index statistics.

CLI Example:

salt-run pki.status