Skip to content

Commit

Permalink
Update get_secret.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHougaard committed Sep 2, 2024
1 parent 347c7aa commit 8a82ce6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/infisical/src/api/secrets/get_secret.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pub async fn get_secret_request(
"workspaceId": input.project_id,
"environment": input.environment,
"secretPath": input.path.clone().unwrap_or("/".to_string()), // default is "/"
"expandSecretReferences": input.expand_secret_references.unwrap_or(true).to_string(),
"type": input.r#type.clone().unwrap_or("shared".to_string()), // default is shared
"include_imports": input.include_imports.unwrap_or(false).to_string(),
});
Expand Down

0 comments on commit 8a82ce6

Please sign in to comment.