We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67dc108 commit e188707Copy full SHA for e188707
packages/content/lib/credentials.js
@@ -7,13 +7,17 @@ import { Logger } from '@bluecadet/launchpad-utils';
7
*/
8
let creds = {};
9
10
+/**
11
+ * @deprecated Use .env for managing sensitive data instead
12
+ */
13
class Credentials {
14
/** @type {Logger | Console} */
15
static logger = console;
16
17
/**
18
* @param {string} [credentialsPath]
19
* @param {Logger | Console} logger
20
21
22
static init(credentialsPath, logger = console) {
23
this.logger = logger;
@@ -41,6 +45,7 @@ class Credentials {
41
45
42
46
43
47
* @param {string} id
48
44
49
50
static getCredentials(id) {
51
if (id in creds) {
0 commit comments