You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/auth_credentials.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
> **Note:** Only one type of credential can be used at a time. If multiple credentials are provided, the last one added takes precedence.
4
4
5
5
1.**API keys**
6
+
6
7
A unique identifier used to authenticate and authorize requests to an API.
7
8
8
9
```python
@@ -12,6 +13,7 @@
12
13
```
13
14
14
15
2.**Bearer tokens**
16
+
15
17
A temporary access token used to authenticate API requests, typically included in the
16
18
Authorization header.
17
19
@@ -22,6 +24,7 @@
22
24
```
23
25
24
26
3.**Service account credentials file path**
27
+
25
28
The file path pointing to a JSON file containing credentials for a service account, used
26
29
for secure API access.
27
30
@@ -32,6 +35,7 @@
32
35
```
33
36
34
37
4.**Service account credentials string**
38
+
35
39
JSON-formatted string containing service account credentials, often used as an alternative to a file for programmatic authentication.
36
40
37
41
```python
@@ -41,4 +45,5 @@
41
45
```
42
46
43
47
5.**Environment variables**
48
+
44
49
If no credentials are explicitly provided, the SDK automatically looks for the `SKYFLOW_CREDENTIALS` environment variable. This variable must contain a JSON string like one of the examples above.
0 commit comments