Skip to main content

Module profiles_cmd

Module profiles_cmd 

Source
Expand description

Tauri commands for the profile CRUD surface.

§Commands

  • profiles_list — union of AWS-discovered + manual + env profiles.
  • profile_get — full detail for one profile (non-secret fields only).
  • profile_create_manual — create a manual profile; secret persisted via keychain.
  • profile_update — patch name / compat flags / region.
  • profile_delete — remove profile + keychain entry.
  • profile_validate — validate via sts:GetCallerIdentity or list-bucket probe.

§Security contract

Secret material (access_key_id, secret_access_key, session_token) crosses the IPC boundary ONCE: inbound on profile_create_manual. The keychain absorbs the secret immediately; the returned ProfileSummary never carries secret fields.

Functions§

build_credentials_provider 🔒
Build a SharedCredentialsProvider for a profile.
keychain_fallback_unlock
Unlock the keychain fallback (FileBackend) with a user-supplied passphrase.
profile_create_manual
Create a new manual profile.
profile_delete
Delete a manual profile and its associated keychain entry.
profile_get
Return the full detail for a single profile.
profile_update
Update a manual profile’s display name, compat flags, and/or default region.
profile_validate
Validate a profile by running the appropriate probe.
profiles_list
Return the aggregated list of all profiles.