namirasoft-credential 1.4.2 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/NamirasoftCredentialServer.js +1 -1
- package/dist/NamirasoftCredentialServerAWS.d.ts +1 -0
- package/dist/NamirasoftCredentialServerAWS.js +8 -0
- package/dist/NamirasoftCredentialServerAWS.js.map +1 -1
- package/dist/NamirasoftCredentialServerAzure.d.ts +1 -0
- package/dist/NamirasoftCredentialServerAzure.js +8 -0
- package/dist/NamirasoftCredentialServerAzure.js.map +1 -1
- package/dist/NamirasoftCredentialServerGCP.d.ts +1 -0
- package/dist/NamirasoftCredentialServerGCP.js +8 -0
- package/dist/NamirasoftCredentialServerGCP.js.map +1 -1
- package/dist/command/AWSCategoryCreateCommand.js +1 -1
- package/dist/command/AWSCategoryCreateCommand.js.map +1 -1
- package/dist/command/AWSCategoryDeleteCommand.js +1 -1
- package/dist/command/AWSCategoryDeleteCommand.js.map +1 -1
- package/dist/command/AWSCategoryGetCommand.js +1 -1
- package/dist/command/AWSCategoryGetCommand.js.map +1 -1
- package/dist/command/AWSCategoryListCommand.js +1 -1
- package/dist/command/AWSCategoryListCommand.js.map +1 -1
- package/dist/command/AWSCommand.js +2 -0
- package/dist/command/AWSCommand.js.map +1 -1
- package/dist/command/AWSCreateCommand.js +2 -2
- package/dist/command/AWSCreateCommand.js.map +1 -1
- package/dist/command/AWSDeleteCommand.js +1 -1
- package/dist/command/AWSDeleteCommand.js.map +1 -1
- package/dist/command/AWSFieldCreateCommand.js +1 -1
- package/dist/command/AWSFieldCreateCommand.js.map +1 -1
- package/dist/command/AWSFieldDeleteCommand.js +1 -1
- package/dist/command/AWSFieldDeleteCommand.js.map +1 -1
- package/dist/command/AWSFieldGetCommand.js +1 -1
- package/dist/command/AWSFieldGetCommand.js.map +1 -1
- package/dist/command/AWSFieldListCommand.js +1 -1
- package/dist/command/AWSFieldListCommand.js.map +1 -1
- package/dist/command/AWSFieldUpdateCommand.js +1 -1
- package/dist/command/AWSFieldUpdateCommand.js.map +1 -1
- package/dist/command/AWSGetCommand.js +1 -1
- package/dist/command/AWSGetCommand.js.map +1 -1
- package/dist/command/AWSListCommand.js +1 -1
- package/dist/command/AWSListCommand.js.map +1 -1
- package/dist/command/AWSTagCreateCommand.js +1 -1
- package/dist/command/AWSTagCreateCommand.js.map +1 -1
- package/dist/command/AWSTagDeleteCommand.js +1 -1
- package/dist/command/AWSTagDeleteCommand.js.map +1 -1
- package/dist/command/AWSTagGetCommand.js +1 -1
- package/dist/command/AWSTagGetCommand.js.map +1 -1
- package/dist/command/AWSTagListCommand.js +1 -1
- package/dist/command/AWSTagListCommand.js.map +1 -1
- package/dist/command/AWSTagUpdateCommand.js +1 -1
- package/dist/command/AWSTagUpdateCommand.js.map +1 -1
- package/dist/command/AWSUpdateCommand.js +2 -2
- package/dist/command/AWSUpdateCommand.js.map +1 -1
- package/dist/command/AWS_GetForCommand.d.ts +5 -0
- package/dist/command/AWS_GetForCommand.js +38 -0
- package/dist/command/AWS_GetForCommand.js.map +1 -0
- package/dist/command/AzureCategoryCreateCommand.js +1 -1
- package/dist/command/AzureCategoryCreateCommand.js.map +1 -1
- package/dist/command/AzureCategoryDeleteCommand.js +1 -1
- package/dist/command/AzureCategoryDeleteCommand.js.map +1 -1
- package/dist/command/AzureCategoryGetCommand.js +1 -1
- package/dist/command/AzureCategoryGetCommand.js.map +1 -1
- package/dist/command/AzureCategoryListCommand.js +1 -1
- package/dist/command/AzureCategoryListCommand.js.map +1 -1
- package/dist/command/AzureCommand.js +2 -0
- package/dist/command/AzureCommand.js.map +1 -1
- package/dist/command/AzureCreateCommand.js +2 -2
- package/dist/command/AzureCreateCommand.js.map +1 -1
- package/dist/command/AzureDeleteCommand.js +1 -1
- package/dist/command/AzureDeleteCommand.js.map +1 -1
- package/dist/command/AzureFieldCreateCommand.js +1 -1
- package/dist/command/AzureFieldCreateCommand.js.map +1 -1
- package/dist/command/AzureFieldDeleteCommand.js +1 -1
- package/dist/command/AzureFieldDeleteCommand.js.map +1 -1
- package/dist/command/AzureFieldGetCommand.js +1 -1
- package/dist/command/AzureFieldGetCommand.js.map +1 -1
- package/dist/command/AzureFieldListCommand.js +1 -1
- package/dist/command/AzureFieldListCommand.js.map +1 -1
- package/dist/command/AzureFieldUpdateCommand.js +1 -1
- package/dist/command/AzureFieldUpdateCommand.js.map +1 -1
- package/dist/command/AzureGetCommand.js +1 -1
- package/dist/command/AzureGetCommand.js.map +1 -1
- package/dist/command/AzureListCommand.js +1 -1
- package/dist/command/AzureListCommand.js.map +1 -1
- package/dist/command/AzureTagCreateCommand.js +1 -1
- package/dist/command/AzureTagCreateCommand.js.map +1 -1
- package/dist/command/AzureTagDeleteCommand.js +1 -1
- package/dist/command/AzureTagDeleteCommand.js.map +1 -1
- package/dist/command/AzureTagGetCommand.js +1 -1
- package/dist/command/AzureTagGetCommand.js.map +1 -1
- package/dist/command/AzureTagListCommand.js +1 -1
- package/dist/command/AzureTagListCommand.js.map +1 -1
- package/dist/command/AzureTagUpdateCommand.js +1 -1
- package/dist/command/AzureTagUpdateCommand.js.map +1 -1
- package/dist/command/AzureUpdateCommand.js +2 -2
- package/dist/command/AzureUpdateCommand.js.map +1 -1
- package/dist/command/Azure_GetForCommand.d.ts +5 -0
- package/dist/command/Azure_GetForCommand.js +38 -0
- package/dist/command/Azure_GetForCommand.js.map +1 -0
- package/dist/command/GCPCategoryCreateCommand.js +1 -1
- package/dist/command/GCPCategoryCreateCommand.js.map +1 -1
- package/dist/command/GCPCategoryDeleteCommand.js +1 -1
- package/dist/command/GCPCategoryDeleteCommand.js.map +1 -1
- package/dist/command/GCPCategoryGetCommand.js +1 -1
- package/dist/command/GCPCategoryGetCommand.js.map +1 -1
- package/dist/command/GCPCategoryListCommand.js +1 -1
- package/dist/command/GCPCategoryListCommand.js.map +1 -1
- package/dist/command/GCPCommand.js +2 -0
- package/dist/command/GCPCommand.js.map +1 -1
- package/dist/command/GCPCreateCommand.js +2 -2
- package/dist/command/GCPCreateCommand.js.map +1 -1
- package/dist/command/GCPDeleteCommand.js +1 -1
- package/dist/command/GCPDeleteCommand.js.map +1 -1
- package/dist/command/GCPFieldCreateCommand.js +1 -1
- package/dist/command/GCPFieldCreateCommand.js.map +1 -1
- package/dist/command/GCPFieldDeleteCommand.js +1 -1
- package/dist/command/GCPFieldDeleteCommand.js.map +1 -1
- package/dist/command/GCPFieldGetCommand.js +1 -1
- package/dist/command/GCPFieldGetCommand.js.map +1 -1
- package/dist/command/GCPFieldListCommand.js +1 -1
- package/dist/command/GCPFieldListCommand.js.map +1 -1
- package/dist/command/GCPFieldUpdateCommand.js +1 -1
- package/dist/command/GCPFieldUpdateCommand.js.map +1 -1
- package/dist/command/GCPGetCommand.js +1 -1
- package/dist/command/GCPGetCommand.js.map +1 -1
- package/dist/command/GCPListCommand.js +1 -1
- package/dist/command/GCPListCommand.js.map +1 -1
- package/dist/command/GCPTagCreateCommand.js +1 -1
- package/dist/command/GCPTagCreateCommand.js.map +1 -1
- package/dist/command/GCPTagDeleteCommand.js +1 -1
- package/dist/command/GCPTagDeleteCommand.js.map +1 -1
- package/dist/command/GCPTagGetCommand.js +1 -1
- package/dist/command/GCPTagGetCommand.js.map +1 -1
- package/dist/command/GCPTagListCommand.js +1 -1
- package/dist/command/GCPTagListCommand.js.map +1 -1
- package/dist/command/GCPTagUpdateCommand.js +1 -1
- package/dist/command/GCPTagUpdateCommand.js.map +1 -1
- package/dist/command/GCPUpdateCommand.js +2 -2
- package/dist/command/GCPUpdateCommand.js.map +1 -1
- package/dist/command/GCP_GetForCommand.d.ts +5 -0
- package/dist/command/GCP_GetForCommand.js +38 -0
- package/dist/command/GCP_GetForCommand.js.map +1 -0
- package/dist/command/HealthzGetCommand.js +1 -1
- package/dist/command/HealthzGetCommand.js.map +1 -1
- package/dist/command/ValueListCommand.js +1 -1
- package/dist/command/ValueListCommand.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/meta/AWSMetaTable.js +2 -2
- package/dist/meta/AWSMetaTable.js.map +1 -1
- package/dist/meta/AzureMetaTable.js +2 -2
- package/dist/meta/AzureMetaTable.js.map +1 -1
- package/dist/meta/GCPMetaTable.js +2 -2
- package/dist/meta/GCPMetaTable.js.map +1 -1
- package/dist/meta/NamirasoftCredentialMetaDatabase.js +1 -1
- package/dist/meta/NamirasoftCredentialMetaDatabase.js.map +1 -1
- package/dist/row/AWSCreateRow.d.ts +1 -1
- package/dist/row/AWSFullRow.d.ts +2 -2
- package/dist/row/AWSRow.d.ts +2 -2
- package/dist/row/AWSUpdateRow.d.ts +1 -1
- package/dist/row/AzureCreateRow.d.ts +1 -1
- package/dist/row/AzureFullRow.d.ts +2 -2
- package/dist/row/AzureRow.d.ts +2 -2
- package/dist/row/AzureUpdateRow.d.ts +1 -1
- package/dist/row/GCPCreateRow.d.ts +1 -1
- package/dist/row/GCPFullRow.d.ts +2 -2
- package/dist/row/GCPRow.d.ts +2 -2
- package/dist/row/GCPUpdateRow.d.ts +1 -1
- package/logo.png +0 -0
- package/package.json +5 -5
- package/src/NamirasoftCredentialServer.ts +1 -1
- package/src/NamirasoftCredentialServerAWS.ts +7 -0
- package/src/NamirasoftCredentialServerAzure.ts +7 -0
- package/src/NamirasoftCredentialServerGCP.ts +7 -0
- package/src/command/AWSCategoryCreateCommand.ts +2 -2
- package/src/command/AWSCategoryDeleteCommand.ts +2 -2
- package/src/command/AWSCategoryGetCommand.ts +2 -2
- package/src/command/AWSCategoryListCommand.ts +2 -2
- package/src/command/AWSCommand.ts +2 -0
- package/src/command/AWSCreateCommand.ts +3 -3
- package/src/command/AWSDeleteCommand.ts +2 -2
- package/src/command/AWSFieldCreateCommand.ts +2 -2
- package/src/command/AWSFieldDeleteCommand.ts +2 -2
- package/src/command/AWSFieldGetCommand.ts +2 -2
- package/src/command/AWSFieldListCommand.ts +2 -2
- package/src/command/AWSFieldUpdateCommand.ts +2 -2
- package/src/command/AWSGetCommand.ts +2 -2
- package/src/command/AWSListCommand.ts +2 -2
- package/src/command/AWSTagCreateCommand.ts +2 -2
- package/src/command/AWSTagDeleteCommand.ts +2 -2
- package/src/command/AWSTagGetCommand.ts +2 -2
- package/src/command/AWSTagListCommand.ts +2 -2
- package/src/command/AWSTagUpdateCommand.ts +2 -2
- package/src/command/AWSUpdateCommand.ts +3 -3
- package/src/command/AWS_GetForCommand.ts +45 -0
- package/src/command/AzureCategoryCreateCommand.ts +2 -2
- package/src/command/AzureCategoryDeleteCommand.ts +2 -2
- package/src/command/AzureCategoryGetCommand.ts +2 -2
- package/src/command/AzureCategoryListCommand.ts +2 -2
- package/src/command/AzureCommand.ts +2 -0
- package/src/command/AzureCreateCommand.ts +3 -3
- package/src/command/AzureDeleteCommand.ts +2 -2
- package/src/command/AzureFieldCreateCommand.ts +2 -2
- package/src/command/AzureFieldDeleteCommand.ts +2 -2
- package/src/command/AzureFieldGetCommand.ts +2 -2
- package/src/command/AzureFieldListCommand.ts +2 -2
- package/src/command/AzureFieldUpdateCommand.ts +2 -2
- package/src/command/AzureGetCommand.ts +2 -2
- package/src/command/AzureListCommand.ts +2 -2
- package/src/command/AzureTagCreateCommand.ts +2 -2
- package/src/command/AzureTagDeleteCommand.ts +2 -2
- package/src/command/AzureTagGetCommand.ts +2 -2
- package/src/command/AzureTagListCommand.ts +2 -2
- package/src/command/AzureTagUpdateCommand.ts +2 -2
- package/src/command/AzureUpdateCommand.ts +3 -3
- package/src/command/Azure_GetForCommand.ts +45 -0
- package/src/command/GCPCategoryCreateCommand.ts +2 -2
- package/src/command/GCPCategoryDeleteCommand.ts +2 -2
- package/src/command/GCPCategoryGetCommand.ts +2 -2
- package/src/command/GCPCategoryListCommand.ts +2 -2
- package/src/command/GCPCommand.ts +2 -0
- package/src/command/GCPCreateCommand.ts +3 -3
- package/src/command/GCPDeleteCommand.ts +2 -2
- package/src/command/GCPFieldCreateCommand.ts +2 -2
- package/src/command/GCPFieldDeleteCommand.ts +2 -2
- package/src/command/GCPFieldGetCommand.ts +2 -2
- package/src/command/GCPFieldListCommand.ts +2 -2
- package/src/command/GCPFieldUpdateCommand.ts +2 -2
- package/src/command/GCPGetCommand.ts +2 -2
- package/src/command/GCPListCommand.ts +2 -2
- package/src/command/GCPTagCreateCommand.ts +2 -2
- package/src/command/GCPTagDeleteCommand.ts +2 -2
- package/src/command/GCPTagGetCommand.ts +2 -2
- package/src/command/GCPTagListCommand.ts +2 -2
- package/src/command/GCPTagUpdateCommand.ts +2 -2
- package/src/command/GCPUpdateCommand.ts +3 -3
- package/src/command/GCP_GetForCommand.ts +45 -0
- package/src/command/HealthzGetCommand.ts +2 -2
- package/src/command/ValueListCommand.ts +2 -2
- package/src/index.ts +3 -0
- package/src/meta/AWSMetaTable.ts +2 -2
- package/src/meta/AzureMetaTable.ts +2 -2
- package/src/meta/GCPMetaTable.ts +2 -2
- package/src/meta/NamirasoftCredentialMetaDatabase.ts +1 -1
- package/src/row/AWSCreateRow.ts +1 -1
- package/src/row/AWSFullRow.ts +2 -2
- package/src/row/AWSRow.ts +2 -2
- package/src/row/AWSUpdateRow.ts +1 -1
- package/src/row/AzureCreateRow.ts +1 -1
- package/src/row/AzureFullRow.ts +2 -2
- package/src/row/AzureRow.ts +2 -2
- package/src/row/AzureUpdateRow.ts +1 -1
- package/src/row/GCPCreateRow.ts +1 -1
- package/src/row/GCPFullRow.ts +2 -2
- package/src/row/GCPRow.ts +2 -2
- package/src/row/GCPUpdateRow.ts +1 -1
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ export class GCPCategoryGetCommand extends BaseFinalCommand
|
|
|
34
34
|
let token = this.app.storage.getNSAToken();
|
|
35
35
|
if (token == null)
|
|
36
36
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
37
|
-
let storage = new
|
|
37
|
+
let storage = new IStorageMemoryDedicated();
|
|
38
38
|
let manager = new TokenManager(storage, () => { });
|
|
39
39
|
manager.setValue(token, false);
|
|
40
40
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ export class GCPCategoryListCommand extends BaseFinalCommand
|
|
|
34
34
|
let token = this.app.storage.getNSAToken();
|
|
35
35
|
if (token == null)
|
|
36
36
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
37
|
-
let storage = new
|
|
37
|
+
let storage = new IStorageMemoryDedicated();
|
|
38
38
|
let manager = new TokenManager(storage, () => { });
|
|
39
39
|
manager.setValue(token, false);
|
|
40
40
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -24,6 +24,7 @@ import { GCPDeleteCommand } from "./GCPDeleteCommand";
|
|
|
24
24
|
import { GCPGetCommand } from "./GCPGetCommand";
|
|
25
25
|
import { GCPListCommand } from "./GCPListCommand";
|
|
26
26
|
import { GCPUpdateCommand } from "./GCPUpdateCommand";
|
|
27
|
+
import { GCP_GetForCommand } from "./GCP_GetForCommand";
|
|
27
28
|
|
|
28
29
|
export class GCPCommand extends BaseNavigatorCommand
|
|
29
30
|
{
|
|
@@ -31,6 +32,7 @@ export class GCPCommand extends BaseNavigatorCommand
|
|
|
31
32
|
{
|
|
32
33
|
super(argv, {
|
|
33
34
|
"list": GCPListCommand,
|
|
35
|
+
"_getfor": GCP_GetForCommand,
|
|
34
36
|
"get": GCPGetCommand,
|
|
35
37
|
"create": GCPCreateCommand,
|
|
36
38
|
"update": GCPUpdateCommand,
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -56,7 +56,7 @@ export class GCPCreateCommand extends BaseFinalCommand
|
|
|
56
56
|
name: "description",
|
|
57
57
|
short: "",
|
|
58
58
|
description: "Provides the value of 'description' in body",
|
|
59
|
-
optional:
|
|
59
|
+
optional: true,
|
|
60
60
|
args: ["description"],
|
|
61
61
|
defaults: [""]
|
|
62
62
|
},
|
|
@@ -91,7 +91,7 @@ export class GCPCreateCommand extends BaseFinalCommand
|
|
|
91
91
|
let token = this.app.storage.getNSAToken();
|
|
92
92
|
if (token == null)
|
|
93
93
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
94
|
-
let storage = new
|
|
94
|
+
let storage = new IStorageMemoryDedicated();
|
|
95
95
|
let manager = new TokenManager(storage, () => { });
|
|
96
96
|
manager.setValue(token, false);
|
|
97
97
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ export class GCPDeleteCommand extends BaseFinalCommand
|
|
|
34
34
|
let token = this.app.storage.getNSAToken();
|
|
35
35
|
if (token == null)
|
|
36
36
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
37
|
-
let storage = new
|
|
37
|
+
let storage = new IStorageMemoryDedicated();
|
|
38
38
|
let manager = new TokenManager(storage, () => { });
|
|
39
39
|
manager.setValue(token, false);
|
|
40
40
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -51,7 +51,7 @@ export class GCPFieldCreateCommand extends BaseFinalCommand
|
|
|
51
51
|
let token = this.app.storage.getNSAToken();
|
|
52
52
|
if (token == null)
|
|
53
53
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
54
|
-
let storage = new
|
|
54
|
+
let storage = new IStorageMemoryDedicated();
|
|
55
55
|
let manager = new TokenManager(storage, () => { });
|
|
56
56
|
manager.setValue(token, false);
|
|
57
57
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ export class GCPFieldDeleteCommand extends BaseFinalCommand
|
|
|
34
34
|
let token = this.app.storage.getNSAToken();
|
|
35
35
|
if (token == null)
|
|
36
36
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
37
|
-
let storage = new
|
|
37
|
+
let storage = new IStorageMemoryDedicated();
|
|
38
38
|
let manager = new TokenManager(storage, () => { });
|
|
39
39
|
manager.setValue(token, false);
|
|
40
40
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ export class GCPFieldGetCommand extends BaseFinalCommand
|
|
|
34
34
|
let token = this.app.storage.getNSAToken();
|
|
35
35
|
if (token == null)
|
|
36
36
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
37
|
-
let storage = new
|
|
37
|
+
let storage = new IStorageMemoryDedicated();
|
|
38
38
|
let manager = new TokenManager(storage, () => { });
|
|
39
39
|
manager.setValue(token, false);
|
|
40
40
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ export class GCPFieldListCommand extends BaseFinalCommand
|
|
|
34
34
|
let token = this.app.storage.getNSAToken();
|
|
35
35
|
if (token == null)
|
|
36
36
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
37
|
-
let storage = new
|
|
37
|
+
let storage = new IStorageMemoryDedicated();
|
|
38
38
|
let manager = new TokenManager(storage, () => { });
|
|
39
39
|
manager.setValue(token, false);
|
|
40
40
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -51,7 +51,7 @@ export class GCPFieldUpdateCommand extends BaseFinalCommand
|
|
|
51
51
|
let token = this.app.storage.getNSAToken();
|
|
52
52
|
if (token == null)
|
|
53
53
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
54
|
-
let storage = new
|
|
54
|
+
let storage = new IStorageMemoryDedicated();
|
|
55
55
|
let manager = new TokenManager(storage, () => { });
|
|
56
56
|
manager.setValue(token, false);
|
|
57
57
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ export class GCPGetCommand extends BaseFinalCommand
|
|
|
34
34
|
let token = this.app.storage.getNSAToken();
|
|
35
35
|
if (token == null)
|
|
36
36
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
37
|
-
let storage = new
|
|
37
|
+
let storage = new IStorageMemoryDedicated();
|
|
38
38
|
let manager = new TokenManager(storage, () => { });
|
|
39
39
|
manager.setValue(token, false);
|
|
40
40
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ export class GCPListCommand extends BaseFinalCommand
|
|
|
34
34
|
let token = this.app.storage.getNSAToken();
|
|
35
35
|
if (token == null)
|
|
36
36
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
37
|
-
let storage = new
|
|
37
|
+
let storage = new IStorageMemoryDedicated();
|
|
38
38
|
let manager = new TokenManager(storage, () => { });
|
|
39
39
|
manager.setValue(token, false);
|
|
40
40
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -51,7 +51,7 @@ export class GCPTagCreateCommand extends BaseFinalCommand
|
|
|
51
51
|
let token = this.app.storage.getNSAToken();
|
|
52
52
|
if (token == null)
|
|
53
53
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
54
|
-
let storage = new
|
|
54
|
+
let storage = new IStorageMemoryDedicated();
|
|
55
55
|
let manager = new TokenManager(storage, () => { });
|
|
56
56
|
manager.setValue(token, false);
|
|
57
57
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ export class GCPTagDeleteCommand extends BaseFinalCommand
|
|
|
34
34
|
let token = this.app.storage.getNSAToken();
|
|
35
35
|
if (token == null)
|
|
36
36
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
37
|
-
let storage = new
|
|
37
|
+
let storage = new IStorageMemoryDedicated();
|
|
38
38
|
let manager = new TokenManager(storage, () => { });
|
|
39
39
|
manager.setValue(token, false);
|
|
40
40
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ export class GCPTagGetCommand extends BaseFinalCommand
|
|
|
34
34
|
let token = this.app.storage.getNSAToken();
|
|
35
35
|
if (token == null)
|
|
36
36
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
37
|
-
let storage = new
|
|
37
|
+
let storage = new IStorageMemoryDedicated();
|
|
38
38
|
let manager = new TokenManager(storage, () => { });
|
|
39
39
|
manager.setValue(token, false);
|
|
40
40
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ export class GCPTagListCommand extends BaseFinalCommand
|
|
|
34
34
|
let token = this.app.storage.getNSAToken();
|
|
35
35
|
if (token == null)
|
|
36
36
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
37
|
-
let storage = new
|
|
37
|
+
let storage = new IStorageMemoryDedicated();
|
|
38
38
|
let manager = new TokenManager(storage, () => { });
|
|
39
39
|
manager.setValue(token, false);
|
|
40
40
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -51,7 +51,7 @@ export class GCPTagUpdateCommand extends BaseFinalCommand
|
|
|
51
51
|
let token = this.app.storage.getNSAToken();
|
|
52
52
|
if (token == null)
|
|
53
53
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
54
|
-
let storage = new
|
|
54
|
+
let storage = new IStorageMemoryDedicated();
|
|
55
55
|
let manager = new TokenManager(storage, () => { });
|
|
56
56
|
manager.setValue(token, false);
|
|
57
57
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -56,7 +56,7 @@ export class GCPUpdateCommand extends BaseFinalCommand
|
|
|
56
56
|
name: "description",
|
|
57
57
|
short: "",
|
|
58
58
|
description: "Provides the value of 'description' in body",
|
|
59
|
-
optional:
|
|
59
|
+
optional: true,
|
|
60
60
|
args: ["description"],
|
|
61
61
|
defaults: [""]
|
|
62
62
|
},
|
|
@@ -91,7 +91,7 @@ export class GCPUpdateCommand extends BaseFinalCommand
|
|
|
91
91
|
let token = this.app.storage.getNSAToken();
|
|
92
92
|
if (token == null)
|
|
93
93
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
94
|
-
let storage = new
|
|
94
|
+
let storage = new IStorageMemoryDedicated();
|
|
95
95
|
let manager = new TokenManager(storage, () => { });
|
|
96
96
|
manager.setValue(token, false);
|
|
97
97
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/****************************************************************/
|
|
2
|
+
/* */
|
|
3
|
+
/* This is an Auto-Generated File */
|
|
4
|
+
/* Made By */
|
|
5
|
+
/* Namirasoft SDK Generator NPM Package */
|
|
6
|
+
/* */
|
|
7
|
+
/****************************************************************/
|
|
8
|
+
/****************************************************************/
|
|
9
|
+
/* */
|
|
10
|
+
/* Please do not make any change to this file */
|
|
11
|
+
/* If any change is required, ns-sdkg command must be used */
|
|
12
|
+
/* */
|
|
13
|
+
/****************************************************************/
|
|
14
|
+
/****************************************************************/
|
|
15
|
+
/* */
|
|
16
|
+
/* Namira Software Corporation */
|
|
17
|
+
/* https://namirasoft.com */
|
|
18
|
+
/* */
|
|
19
|
+
/****************************************************************/
|
|
20
|
+
|
|
21
|
+
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
|
+
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
|
+
import { TokenManager } from "namirasoft-account";
|
|
25
|
+
|
|
26
|
+
export class GCP_GetForCommand extends BaseFinalCommand
|
|
27
|
+
{
|
|
28
|
+
constructor(argv: string[])
|
|
29
|
+
{
|
|
30
|
+
super(argv, ["user_id", "id"], []);
|
|
31
|
+
}
|
|
32
|
+
override async exec()
|
|
33
|
+
{
|
|
34
|
+
let token = this.app.storage.getNSAToken();
|
|
35
|
+
if (token == null)
|
|
36
|
+
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
37
|
+
let storage = new IStorageMemoryDedicated();
|
|
38
|
+
let manager = new TokenManager(storage, () => { });
|
|
39
|
+
manager.setValue(token, false);
|
|
40
|
+
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
41
|
+
let server = new NamirasoftCredentialServer(url, manager, e => this.app.logger.error(e.message));
|
|
42
|
+
let ans = await server.gcp._GetFor(this.arg_values[0], this.arg_values[1]);
|
|
43
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
44
|
+
}
|
|
45
|
+
};
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ export class HealthzGetCommand extends BaseFinalCommand
|
|
|
34
34
|
let token = this.app.storage.getNSAToken();
|
|
35
35
|
if (token == null)
|
|
36
36
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
37
|
-
let storage = new
|
|
37
|
+
let storage = new IStorageMemoryDedicated();
|
|
38
38
|
let manager = new TokenManager(storage, () => { });
|
|
39
39
|
manager.setValue(token, false);
|
|
40
40
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
22
|
-
import {
|
|
22
|
+
import { IStorageMemoryDedicated } from "namirasoft-core";
|
|
23
23
|
import { NamirasoftCredentialServer } from "../NamirasoftCredentialServer";
|
|
24
24
|
import { TokenManager } from "namirasoft-account";
|
|
25
25
|
|
|
@@ -34,7 +34,7 @@ export class ValueListCommand extends BaseFinalCommand
|
|
|
34
34
|
let token = this.app.storage.getNSAToken();
|
|
35
35
|
if (token == null)
|
|
36
36
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
37
|
-
let storage = new
|
|
37
|
+
let storage = new IStorageMemoryDedicated();
|
|
38
38
|
let manager = new TokenManager(storage, () => { });
|
|
39
39
|
manager.setValue(token, false);
|
|
40
40
|
let url = this.app.storage.getItem("ns-credential-server-url");
|
package/src/index.ts
CHANGED
|
@@ -57,6 +57,7 @@ export * from "./command/AWSTagGetCommand";
|
|
|
57
57
|
export * from "./command/AWSTagListCommand";
|
|
58
58
|
export * from "./command/AWSTagUpdateCommand";
|
|
59
59
|
export * from "./command/AWSUpdateCommand";
|
|
60
|
+
export * from "./command/AWS_GetForCommand";
|
|
60
61
|
export * from "./command/AzureCategoryCommand";
|
|
61
62
|
export * from "./command/AzureCategoryCreateCommand";
|
|
62
63
|
export * from "./command/AzureCategoryDeleteCommand";
|
|
@@ -80,6 +81,7 @@ export * from "./command/AzureTagGetCommand";
|
|
|
80
81
|
export * from "./command/AzureTagListCommand";
|
|
81
82
|
export * from "./command/AzureTagUpdateCommand";
|
|
82
83
|
export * from "./command/AzureUpdateCommand";
|
|
84
|
+
export * from "./command/Azure_GetForCommand";
|
|
83
85
|
export * from "./command/GCPCategoryCommand";
|
|
84
86
|
export * from "./command/GCPCategoryCreateCommand";
|
|
85
87
|
export * from "./command/GCPCategoryDeleteCommand";
|
|
@@ -103,6 +105,7 @@ export * from "./command/GCPTagGetCommand";
|
|
|
103
105
|
export * from "./command/GCPTagListCommand";
|
|
104
106
|
export * from "./command/GCPTagUpdateCommand";
|
|
105
107
|
export * from "./command/GCPUpdateCommand";
|
|
108
|
+
export * from "./command/GCP_GetForCommand";
|
|
106
109
|
export * from "./command/HealthzCommand";
|
|
107
110
|
export * from "./command/HealthzGetCommand";
|
|
108
111
|
export * from "./command/ValueCommand";
|
package/src/meta/AWSMetaTable.ts
CHANGED
|
@@ -41,12 +41,12 @@ export class AWSMetaTable extends NSBaseMetaTable<NamirasoftCredentialServer, AW
|
|
|
41
41
|
super(database, "aws", "AWS", new BaseUUID("crd-aws"));
|
|
42
42
|
this.columns = {
|
|
43
43
|
id: new BaseMetaColumn(this, "id", "ID", "String", true),
|
|
44
|
-
user_id: new BaseMetaColumn(this, "user_id", "User ID", "
|
|
44
|
+
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
45
45
|
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
46
46
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
47
47
|
access_key: new BaseMetaColumn(this, "access_key", "Access Key", "String", true),
|
|
48
48
|
secret_key: new BaseMetaColumn(this, "secret_key", "Secret Key", "String", true),
|
|
49
|
-
description: new BaseMetaColumn(this, "description", "Description", "String",
|
|
49
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
50
50
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
51
51
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
52
52
|
};
|
|
@@ -42,13 +42,13 @@ export class AzureMetaTable extends NSBaseMetaTable<NamirasoftCredentialServer,
|
|
|
42
42
|
super(database, "azure", "Azure", new BaseUUID("crd-azr"));
|
|
43
43
|
this.columns = {
|
|
44
44
|
id: new BaseMetaColumn(this, "id", "ID", "String", true),
|
|
45
|
-
user_id: new BaseMetaColumn(this, "user_id", "User ID", "
|
|
45
|
+
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
46
46
|
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
47
47
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
48
48
|
tenant_id: new BaseMetaColumn(this, "tenant_id", "Tenant ID", "String", true),
|
|
49
49
|
client_id: new BaseMetaColumn(this, "client_id", "Client ID", "String", true),
|
|
50
50
|
client_secret: new BaseMetaColumn(this, "client_secret", "Client Secret", "String", true),
|
|
51
|
-
description: new BaseMetaColumn(this, "description", "Description", "String",
|
|
51
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
52
52
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
53
53
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
54
54
|
};
|
package/src/meta/GCPMetaTable.ts
CHANGED
|
@@ -40,11 +40,11 @@ export class GCPMetaTable extends NSBaseMetaTable<NamirasoftCredentialServer, GC
|
|
|
40
40
|
super(database, "gcp", "GCP", new BaseUUID("crd-gcp"));
|
|
41
41
|
this.columns = {
|
|
42
42
|
id: new BaseMetaColumn(this, "id", "ID", "String", true),
|
|
43
|
-
user_id: new BaseMetaColumn(this, "user_id", "User ID", "
|
|
43
|
+
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
44
44
|
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
45
45
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
46
46
|
credentials: new BaseMetaColumn(this, "credentials", "Credentials", "String", true),
|
|
47
|
-
description: new BaseMetaColumn(this, "description", "Description", "String",
|
|
47
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
48
48
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
49
49
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
50
50
|
};
|
|
@@ -55,7 +55,7 @@ export class NamirasoftCredentialMetaDatabase extends NSBaseMetaDatabase<Namiras
|
|
|
55
55
|
};
|
|
56
56
|
constructor(manager?: TokenManager, onError?: (error: Error) => void)
|
|
57
57
|
{
|
|
58
|
-
super({ id: "prd-986059d99192405b", name: "Namirasoft Credential", headline: "
|
|
58
|
+
super({ id: "prd-986059d99192405b", name: "Namirasoft Credential", headline: "Secure Credential Management", description: "Grant Namirasoft secure access to your payment credentials, allowing us to take controlled actions on your behalf.", logo: "https://static.namirasoft.com/image/namirasoft/credential/logo/base.png", link: "https://credential.namirasoft.com" });
|
|
59
59
|
this.manager = manager;
|
|
60
60
|
this.onError = onError;
|
|
61
61
|
this.tables = {
|
package/src/row/AWSCreateRow.ts
CHANGED
|
@@ -28,7 +28,7 @@ export type AWSCreateRow =
|
|
|
28
28
|
name: string;
|
|
29
29
|
access_key: string;
|
|
30
30
|
secret_key: string;
|
|
31
|
-
description: string;
|
|
31
|
+
description: (string | null);
|
|
32
32
|
aws_category: (EntityCategoryInputRow | null)[];
|
|
33
33
|
aws_field: (EntityFieldInputRow | null)[];
|
|
34
34
|
aws_tag: (EntityTagInputRow | null)[];
|
package/src/row/AWSFullRow.ts
CHANGED
|
@@ -25,12 +25,12 @@ import { EntityTagInputRow } from "./EntityTagInputRow";
|
|
|
25
25
|
export type AWSFullRow =
|
|
26
26
|
{
|
|
27
27
|
id: string;
|
|
28
|
-
user_id:
|
|
28
|
+
user_id: string;
|
|
29
29
|
workspace_id: string;
|
|
30
30
|
name: string;
|
|
31
31
|
access_key: string;
|
|
32
32
|
secret_key: string;
|
|
33
|
-
description: string;
|
|
33
|
+
description: (string | null);
|
|
34
34
|
created_at: Date;
|
|
35
35
|
updated_at: Date;
|
|
36
36
|
aws_category: (EntityCategoryInputRow | null)[];
|
package/src/row/AWSRow.ts
CHANGED
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
export type AWSRow =
|
|
22
22
|
{
|
|
23
23
|
id: string;
|
|
24
|
-
user_id:
|
|
24
|
+
user_id: string;
|
|
25
25
|
workspace_id: string;
|
|
26
26
|
name: string;
|
|
27
27
|
access_key: string;
|
|
28
28
|
secret_key: string;
|
|
29
|
-
description: string;
|
|
29
|
+
description: (string | null);
|
|
30
30
|
created_at: Date;
|
|
31
31
|
updated_at: Date;
|
|
32
32
|
}
|
package/src/row/AWSUpdateRow.ts
CHANGED
|
@@ -28,7 +28,7 @@ export type AWSUpdateRow =
|
|
|
28
28
|
name: string;
|
|
29
29
|
access_key: (string | null);
|
|
30
30
|
secret_key: (string | null);
|
|
31
|
-
description: string;
|
|
31
|
+
description: (string | null);
|
|
32
32
|
aws_category: (EntityCategoryInputRow | null)[];
|
|
33
33
|
aws_field: (EntityFieldInputRow | null)[];
|
|
34
34
|
aws_tag: (EntityTagInputRow | null)[];
|
|
@@ -29,7 +29,7 @@ export type AzureCreateRow =
|
|
|
29
29
|
tenant_id: string;
|
|
30
30
|
client_id: string;
|
|
31
31
|
client_secret: string;
|
|
32
|
-
description: string;
|
|
32
|
+
description: (string | null);
|
|
33
33
|
azure_category: (EntityCategoryInputRow | null)[];
|
|
34
34
|
azure_field: (EntityFieldInputRow | null)[];
|
|
35
35
|
azure_tag: (EntityTagInputRow | null)[];
|
package/src/row/AzureFullRow.ts
CHANGED
|
@@ -25,13 +25,13 @@ import { EntityTagInputRow } from "./EntityTagInputRow";
|
|
|
25
25
|
export type AzureFullRow =
|
|
26
26
|
{
|
|
27
27
|
id: string;
|
|
28
|
-
user_id:
|
|
28
|
+
user_id: string;
|
|
29
29
|
workspace_id: string;
|
|
30
30
|
name: string;
|
|
31
31
|
tenant_id: string;
|
|
32
32
|
client_id: string;
|
|
33
33
|
client_secret: string;
|
|
34
|
-
description: string;
|
|
34
|
+
description: (string | null);
|
|
35
35
|
created_at: Date;
|
|
36
36
|
updated_at: Date;
|
|
37
37
|
azure_category: (EntityCategoryInputRow | null)[];
|
package/src/row/AzureRow.ts
CHANGED
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
export type AzureRow =
|
|
22
22
|
{
|
|
23
23
|
id: string;
|
|
24
|
-
user_id:
|
|
24
|
+
user_id: string;
|
|
25
25
|
workspace_id: string;
|
|
26
26
|
name: string;
|
|
27
27
|
tenant_id: string;
|
|
28
28
|
client_id: string;
|
|
29
29
|
client_secret: string;
|
|
30
|
-
description: string;
|
|
30
|
+
description: (string | null);
|
|
31
31
|
created_at: Date;
|
|
32
32
|
updated_at: Date;
|
|
33
33
|
}
|
|
@@ -29,7 +29,7 @@ export type AzureUpdateRow =
|
|
|
29
29
|
tenant_id: (string | null);
|
|
30
30
|
client_id: (string | null);
|
|
31
31
|
client_secret: (string | null);
|
|
32
|
-
description: string;
|
|
32
|
+
description: (string | null);
|
|
33
33
|
azure_category: (EntityCategoryInputRow | null)[];
|
|
34
34
|
azure_field: (EntityFieldInputRow | null)[];
|
|
35
35
|
azure_tag: (EntityTagInputRow | null)[];
|