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
# --format string Specify format for the credentials file (default: yaml, available: json,yaml)
111
111
112
112
node ace credentials:create
113
113
```
@@ -170,8 +170,9 @@ For production you should set additional environment variable `APP_CREDENTIALS_K
170
170
171
171
The provider uses node.js' native crypto library and encrypts everything using *AES* cipher with a random vector, which makes your secrets very secure, with a single key that can decrypt data.
172
172
173
-
Credentials while decrypted present themselves as simple JSON objects, this allows to keep variables in a very predictable and simple manner:
173
+
Credentials while decrypted present themselves as simple files in JSON or YAML formats, this allows to keep variables in a very predictable and simple manner:
174
174
175
+
**JSON**
175
176
```json
176
177
{
177
178
"google": {
@@ -181,6 +182,13 @@ Credentials while decrypted present themselves as simple JSON objects, this allo
181
182
}
182
183
```
183
184
185
+
**YAML**
186
+
```yaml
187
+
google:
188
+
key: "your_google_key"
189
+
secret: "your_google_secret"
190
+
```
191
+
184
192
Which then is being transformed to something like this:
0 commit comments