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
`Invalid secrets, accessKey & secretKey must be defined. See https://www.scaleway.com/docs/console/my-project/how-to/generate-api-key`,
103
103
)
104
-
if(!isAccessKey(obj.accessKey))
104
+
}
105
+
if(!isAccessKey(obj.accessKey)){
105
106
thrownewError(
106
107
`Invalid access key format '${obj.accessKey}', expected SCWXXXXXXXXXXXXXXXXX format. See https://www.scaleway.com/docs/console/my-project/how-to/generate-api-key`,
107
108
)
108
-
if(!isSecretKey(obj.secretKey))
109
+
}
110
+
if(!isSecretKey(obj.secretKey)){
109
111
thrownewError(
110
112
`Invalid secret key format '${obj.secretKey}', expected a UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. See https://www.scaleway.com/docs/console/my-project/how-to/generate-api-key`,
0 commit comments