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
[method-name] (Optional) Name of the method of the API call performed
12
12
[status] (Optional) HTTP status code of the request. Returns either `200` if the request was successful or `403` if the permission was denied
13
13
[recorded-after] (Optional) The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default
| method-name || (Optional) Name of the method of the API call performed |
34
34
| status || (Optional) HTTP status code of the request. Returns either `200` if the request was successful or `403` if the permission was denied |
35
35
| recorded-after || (Optional) The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default |
Copy file name to clipboardExpand all lines: docs/cookbook.md
+63Lines changed: 63 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,69 @@ scw instance server list zone=all -o template="{{.ID}} zone={{.Zone}}" | xargs -
88
88
scw rdb backup list -ojson | jq --arg d "$(date -d "7 days ago" --utc --iso-8601=ns)"'.[] | select (.created_at < $d)'
89
89
```
90
90
91
+
### Configure password storage for rdb connect
92
+
93
+
The `scw rdb instance connect`command can automatically use stored credentials to avoid typing passwords manually. Here's how to configure it for PostgreSQL and MySQL.
94
+
95
+
#### PostgreSQL - Using .pgpass file
96
+
97
+
Create a password file to store your connection credentials securely:
0 commit comments