feat: added round trip validation for vault providers to ensure permissions and authentication
This commit is contained in:
1 parent
8ad764527d
commit
652ab0b180
4 files changed
+73
-2
No files matched your search
@@ -687,6 +687,9 @@ pub async fn create_config_file(config_path: &Path) -> Result<()> {
|
||||
},
|
||||
};
|
||||
create_vault_password_file(&mut vault)?;
|
||||
if provider_choice.is_some() {
|
||||
vault.validate_round_trip()?;
|
||||
}
|
||||
|
||||
let client = Select::new("API Provider (required):", list_client_types()).prompt()?;
|
||||
|
||||
|
||||
Reference in new issue
Block a user