Add preliminary platform, sdks, and cli quickstarts

This commit is contained in:
Tuan Dang
2023-04-28 14:30:13 +03:00
parent 330968c7af
commit e5cb0cbca3
15 changed files with 401 additions and 16 deletions

View File

@@ -24,12 +24,11 @@ app.get("/", async (req, res) => {
});
app.listen(PORT, async () => {
// initialize client
console.log(`App listening on port ${port}`);
console.log(`App listening on port ${PORT}`);
});
```
This example demonstrates how to use the Infisical SDK with an Express application. The application retrieves a secret named "NAME" and responds to requests with a greeting that includes the secret value.
This example demonstrates how to use the Infisical Node SDK with an Express application. The application retrieves a secret named "NAME" and responds to requests with a greeting that includes the secret value.
<Warning>
We do not recommend hardcoding your [Infisical
@@ -47,7 +46,7 @@ $ npm install infisical-node --save
## Configuration
Import the SDK and create a client instance with your Infisical token.
Import the SDK and create a client instance with your [Infisical Token](/getting-started/dashboard/token).
<Tabs>
<Tab title="ES6">
@@ -57,8 +56,6 @@ Import the SDK and create a client instance with your Infisical token.
const client = new InfisicalClient({
token: "your_infisical_token"
});
// your app logic
```
</Tab>
@@ -69,8 +66,6 @@ Import the SDK and create a client instance with your Infisical token.
const client = new InfisicalClient({
token: "your_infisical_token"
});
// your app logic
````
</Tab>

View File

@@ -0,0 +1,8 @@
---
title: "PHP"
icon: "php"
---
Coming soon.
Follow this GitHub [issue](https://github.com/Infisical/infisical/issues/531) to stay updated.

View File

@@ -42,7 +42,7 @@ Note: You need Python 3.7+.
## Configuration
Import the SDK and create a client instance with your Infisical token.
Import the SDK and create a client instance with your [Infisical Token](/getting-started/dashboard/token).
```py
from infisical import InfisicalClient

View File

@@ -13,3 +13,4 @@ We currently have the [Node SDK](/sdks/languages/node) and [Python SDK](/sdks/la
- [Ruby](/sdks/languages/ruby)
- [Go](/sdks/languages/go)
- [Rust](/sdks/languages/rust)
- [PHP](/sdks/languages/php)