pub async fn profile_create_manual(
name: String,
access_key_id: String,
secret_access_key: String,
session_token: Option<String>,
default_region: Option<String>,
compat_flags: Option<CompatFlags>,
store: State<'_, ProfileStoreHandle>,
keychain: State<'_, KeychainHandle>,
) -> Result<ProfileSummary, AppError>Expand description
Create a new manual profile.
The secret (access_key_id, secret_access_key, session_token) crosses
the IPC boundary here and is immediately handed off to the keychain.
The returned ProfileSummary contains no secret fields.
ยงValidation
Returns AppError::Validation when name or access_key_id is empty.