🔒 Enables sensetive data to be passed by env var
This commit is contained in:
@@ -56,7 +56,7 @@ export default {
|
||||
this.error('An API key is required, please see the docs for more info');
|
||||
}
|
||||
if (typeof this.options.apiKey === 'string') {
|
||||
return [this.options.apiKey];
|
||||
return [this.parseAsEnvVar(this.options.apiKey)];
|
||||
}
|
||||
return this.options.apiKey;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user