mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-09 15:38:03 -05:00
Update usage.mdx
This commit is contained in:
@@ -61,16 +61,16 @@ The distinguishing factor, however, is the authentication method used.
|
|||||||
<Tabs>
|
<Tabs>
|
||||||
<Tab title="Feed secrets to your application">
|
<Tab title="Feed secrets to your application">
|
||||||
```bash
|
```bash
|
||||||
infisical run -- [your application start command]
|
infisical run --env=dev --path=/apps/firefly -- [your application start command]
|
||||||
|
|
||||||
# example with node (nodemon)
|
# example with node (nodemon)
|
||||||
infisical run --env=dev --path=/apps/firefly -- nodemon index.js
|
infisical run --env=staging --path=/apps/spotify -- nodemon index.js
|
||||||
|
|
||||||
# example with flask
|
# example with flask
|
||||||
infisical run -- flask run
|
infisical run --env=prod --path=/apps/backend -- flask run
|
||||||
|
|
||||||
# example with spring boot - maven
|
# example with spring boot - maven
|
||||||
infisical run -- ./mvnw spring-boot:run --quiet
|
infisical run --env=dev --path=/apps/ -- ./mvnw spring-boot:run --quiet
|
||||||
```
|
```
|
||||||
</Tab>
|
</Tab>
|
||||||
<Tab title="Feed secrets via custom aliases (advanced)">
|
<Tab title="Feed secrets via custom aliases (advanced)">
|
||||||
@@ -86,7 +86,7 @@ The distinguishing factor, however, is the authentication method used.
|
|||||||
To make the secrets available from Infisical to `yd`, you can run the following command:
|
To make the secrets available from Infisical to `yd`, you can run the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
infisical run --command="source custom.sh && yd"
|
infisical run --env=prod --path=/apps/reddit --command="source custom.sh && yd"
|
||||||
```
|
```
|
||||||
</Tab>
|
</Tab>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|||||||
Reference in New Issue
Block a user