Skip to main content

Module config

Module config 

Source

Structs§

Config
Resolved credentials for the active profile.
ConfigSummary
Full configuration state for display — no credential resolution or validation.
ProfileSummary
Per-profile credential values as stored in the config file.

Functions§

config_path
delete_profile
Remove a named profile from the config file, preserving comments and formatting in the remaining sections.
load_for_show
Read all config state for display without resolving or validating credentials.
read_profile_credentials
Read the raw credential values for a specific profile, for use when updating.
schema_config_path_description
write_profile
Write (or overwrite) a single profile in the config file, preserving other profiles and any comments or formatting in unmodified sections.