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
|
@@ -17,13 +17,13 @@ class AzureMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
17
17
|
super(database, "azure", "Azure", new namirasoft_core_1.BaseUUID("crd-azr"));
|
|
18
18
|
this.columns = {
|
|
19
19
|
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "ID", "String", true),
|
|
20
|
-
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User ID", "
|
|
20
|
+
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
21
21
|
workspace_id: new namirasoft_core_1.BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
22
22
|
name: new namirasoft_core_1.BaseMetaColumn(this, "name", "Name", "String", true),
|
|
23
23
|
tenant_id: new namirasoft_core_1.BaseMetaColumn(this, "tenant_id", "Tenant ID", "String", true),
|
|
24
24
|
client_id: new namirasoft_core_1.BaseMetaColumn(this, "client_id", "Client ID", "String", true),
|
|
25
25
|
client_secret: new namirasoft_core_1.BaseMetaColumn(this, "client_secret", "Client Secret", "String", true),
|
|
26
|
-
description: new namirasoft_core_1.BaseMetaColumn(this, "description", "Description", "String",
|
|
26
|
+
description: new namirasoft_core_1.BaseMetaColumn(this, "description", "Description", "String", false),
|
|
27
27
|
created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
28
28
|
updated_at: new namirasoft_core_1.BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
29
29
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AzureMetaTable.js","sourceRoot":"","sources":["../../src/meta/AzureMetaTable.ts"],"names":[],"mappings":";;;;;;;;;;;;AAqBA,qDAAiF;AACjF,qDAAsE;AAGtE,MAAa,cAAe,SAAQ,iCAAqD;IAcrF,YAAY,QAAwD;QAEhE,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,0BAAQ,CAAC,SAAS,CAAC,CAAC,CAAC;QAC3D,IAAI,CAAC,OAAO,GAAG;YACX,EAAE,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC;YACxD,OAAO,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"AzureMetaTable.js","sourceRoot":"","sources":["../../src/meta/AzureMetaTable.ts"],"names":[],"mappings":";;;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IAAI,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAO,EAAU,EAAE,EAAE;YAErC,IAAI,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE,CAAC;YACvC,OAAO,MAAM,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACtC,CAAC,CAAA,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAO,OAA4B,EAAE,IAAqB,EAAE,IAAqB,EAAE,KAAiB,EAAE,EAAE;YAEzH,IAAI,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE,CAAC;YACvC,OAAO,MAAM,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;QAC/D,CAAC,CAAA,CAAC;IACN,CAAC;CACJ;AAxCD,wCAwCC;AAAA,CAAC"}
|
|
@@ -17,11 +17,11 @@ class GCPMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
17
17
|
super(database, "gcp", "GCP", new namirasoft_core_1.BaseUUID("crd-gcp"));
|
|
18
18
|
this.columns = {
|
|
19
19
|
id: new namirasoft_core_1.BaseMetaColumn(this, "id", "ID", "String", true),
|
|
20
|
-
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User ID", "
|
|
20
|
+
user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
21
21
|
workspace_id: new namirasoft_core_1.BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
22
22
|
name: new namirasoft_core_1.BaseMetaColumn(this, "name", "Name", "String", true),
|
|
23
23
|
credentials: new namirasoft_core_1.BaseMetaColumn(this, "credentials", "Credentials", "String", true),
|
|
24
|
-
description: new namirasoft_core_1.BaseMetaColumn(this, "description", "Description", "String",
|
|
24
|
+
description: new namirasoft_core_1.BaseMetaColumn(this, "description", "Description", "String", false),
|
|
25
25
|
created_at: new namirasoft_core_1.BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
26
26
|
updated_at: new namirasoft_core_1.BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
27
27
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GCPMetaTable.js","sourceRoot":"","sources":["../../src/meta/GCPMetaTable.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,qDAAiF;AAEjF,qDAAsE;AAGtE,MAAa,YAAa,SAAQ,iCAAmD;IAYjF,YAAY,QAAwD;QAEhE,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,0BAAQ,CAAC,SAAS,CAAC,CAAC,CAAC;QACvD,IAAI,CAAC,OAAO,GAAG;YACX,EAAE,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC;YACxD,OAAO,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"GCPMetaTable.js","sourceRoot":"","sources":["../../src/meta/GCPMetaTable.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,qDAAiF;AAEjF,qDAAsE;AAGtE,MAAa,YAAa,SAAQ,iCAAmD;IAYjF,YAAY,QAAwD;QAEhE,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,0BAAQ,CAAC,SAAS,CAAC,CAAC,CAAC;QACvD,IAAI,CAAC,OAAO,GAAG;YACX,EAAE,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC;YACxD,OAAO,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC;YACvE,YAAY,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,cAAc,EAAE,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
|
|
19
19
|
class NamirasoftCredentialMetaDatabase extends namirasoft_site_1.NSBaseMetaDatabase {
|
|
20
20
|
constructor(manager, onError) {
|
|
21
|
-
super({ id: "prd-986059d99192405b", name: "Namirasoft Credential", headline: "
|
|
21
|
+
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" });
|
|
22
22
|
this.manager = manager;
|
|
23
23
|
this.onError = onError;
|
|
24
24
|
this.tables = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamirasoftCredentialMetaDatabase.js","sourceRoot":"","sources":["../../src/meta/NamirasoftCredentialMetaDatabase.ts"],"names":[],"mappings":";;;AAoBA,iEAA8D;AAC9D,2DAAwD;AACxD,iDAA8C;AAC9C,uDAAoD;AACpD,qEAAkE;AAClE,+DAA4D;AAC5D,qDAAkD;AAClD,2DAAwD;AACxD,qDAA6C;AAC7C,iEAA8D;AAC9D,2DAAwD;AACxD,iDAA8C;AAC9C,uDAAoD;AACpD,qDAAqD;AACrD,8EAA2E;AAG3E,MAAa,gCAAiC,SAAQ,oCAA8C;IAkBhG,YAAY,OAAsB,EAAE,OAAgC;QAEhE,KAAK,CAAC,EAAE,EAAE,EAAE,sBAAsB,EAAE,IAAI,EAAE,uBAAuB,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"NamirasoftCredentialMetaDatabase.js","sourceRoot":"","sources":["../../src/meta/NamirasoftCredentialMetaDatabase.ts"],"names":[],"mappings":";;;AAoBA,iEAA8D;AAC9D,2DAAwD;AACxD,iDAA8C;AAC9C,uDAAoD;AACpD,qEAAkE;AAClE,+DAA4D;AAC5D,qDAAkD;AAClD,2DAAwD;AACxD,qDAA6C;AAC7C,iEAA8D;AAC9D,2DAAwD;AACxD,iDAA8C;AAC9C,uDAAoD;AACpD,q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OAAO,CAAC,IAAI,CAAC,CAAC;QAClE,IAAI,QAAQ,GAAG,IAAI,4BAAU,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;QACtD,OAAO,IAAI,uDAA0B,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAChF,CAAC;CACJ;AA9CD,4EA8CC;AAAA,CAAC"}
|
|
@@ -6,7 +6,7 @@ export type AWSCreateRow = {
|
|
|
6
6
|
name: string;
|
|
7
7
|
access_key: string;
|
|
8
8
|
secret_key: string;
|
|
9
|
-
description: string;
|
|
9
|
+
description: (string | null);
|
|
10
10
|
aws_category: (EntityCategoryInputRow | null)[];
|
|
11
11
|
aws_field: (EntityFieldInputRow | null)[];
|
|
12
12
|
aws_tag: (EntityTagInputRow | null)[];
|
package/dist/row/AWSFullRow.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ import { EntityFieldInputRow } from "./EntityFieldInputRow";
|
|
|
3
3
|
import { EntityTagInputRow } from "./EntityTagInputRow";
|
|
4
4
|
export type AWSFullRow = {
|
|
5
5
|
id: string;
|
|
6
|
-
user_id:
|
|
6
|
+
user_id: string;
|
|
7
7
|
workspace_id: string;
|
|
8
8
|
name: string;
|
|
9
9
|
access_key: string;
|
|
10
10
|
secret_key: string;
|
|
11
|
-
description: string;
|
|
11
|
+
description: (string | null);
|
|
12
12
|
created_at: Date;
|
|
13
13
|
updated_at: Date;
|
|
14
14
|
aws_category: (EntityCategoryInputRow | null)[];
|
package/dist/row/AWSRow.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export type AWSRow = {
|
|
2
2
|
id: string;
|
|
3
|
-
user_id:
|
|
3
|
+
user_id: string;
|
|
4
4
|
workspace_id: string;
|
|
5
5
|
name: string;
|
|
6
6
|
access_key: string;
|
|
7
7
|
secret_key: string;
|
|
8
|
-
description: string;
|
|
8
|
+
description: (string | null);
|
|
9
9
|
created_at: Date;
|
|
10
10
|
updated_at: Date;
|
|
11
11
|
};
|
|
@@ -6,7 +6,7 @@ export type AWSUpdateRow = {
|
|
|
6
6
|
name: string;
|
|
7
7
|
access_key: (string | null);
|
|
8
8
|
secret_key: (string | null);
|
|
9
|
-
description: string;
|
|
9
|
+
description: (string | null);
|
|
10
10
|
aws_category: (EntityCategoryInputRow | null)[];
|
|
11
11
|
aws_field: (EntityFieldInputRow | null)[];
|
|
12
12
|
aws_tag: (EntityTagInputRow | null)[];
|
|
@@ -7,7 +7,7 @@ export type AzureCreateRow = {
|
|
|
7
7
|
tenant_id: string;
|
|
8
8
|
client_id: string;
|
|
9
9
|
client_secret: string;
|
|
10
|
-
description: string;
|
|
10
|
+
description: (string | null);
|
|
11
11
|
azure_category: (EntityCategoryInputRow | null)[];
|
|
12
12
|
azure_field: (EntityFieldInputRow | null)[];
|
|
13
13
|
azure_tag: (EntityTagInputRow | null)[];
|
|
@@ -3,13 +3,13 @@ import { EntityFieldInputRow } from "./EntityFieldInputRow";
|
|
|
3
3
|
import { EntityTagInputRow } from "./EntityTagInputRow";
|
|
4
4
|
export type AzureFullRow = {
|
|
5
5
|
id: string;
|
|
6
|
-
user_id:
|
|
6
|
+
user_id: string;
|
|
7
7
|
workspace_id: string;
|
|
8
8
|
name: string;
|
|
9
9
|
tenant_id: string;
|
|
10
10
|
client_id: string;
|
|
11
11
|
client_secret: string;
|
|
12
|
-
description: string;
|
|
12
|
+
description: (string | null);
|
|
13
13
|
created_at: Date;
|
|
14
14
|
updated_at: Date;
|
|
15
15
|
azure_category: (EntityCategoryInputRow | null)[];
|
package/dist/row/AzureRow.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export type AzureRow = {
|
|
2
2
|
id: string;
|
|
3
|
-
user_id:
|
|
3
|
+
user_id: string;
|
|
4
4
|
workspace_id: string;
|
|
5
5
|
name: string;
|
|
6
6
|
tenant_id: string;
|
|
7
7
|
client_id: string;
|
|
8
8
|
client_secret: string;
|
|
9
|
-
description: string;
|
|
9
|
+
description: (string | null);
|
|
10
10
|
created_at: Date;
|
|
11
11
|
updated_at: Date;
|
|
12
12
|
};
|
|
@@ -7,7 +7,7 @@ export type AzureUpdateRow = {
|
|
|
7
7
|
tenant_id: (string | null);
|
|
8
8
|
client_id: (string | null);
|
|
9
9
|
client_secret: (string | null);
|
|
10
|
-
description: string;
|
|
10
|
+
description: (string | null);
|
|
11
11
|
azure_category: (EntityCategoryInputRow | null)[];
|
|
12
12
|
azure_field: (EntityFieldInputRow | null)[];
|
|
13
13
|
azure_tag: (EntityTagInputRow | null)[];
|
|
@@ -5,7 +5,7 @@ export type GCPCreateRow = {
|
|
|
5
5
|
workspace_id: (string | null);
|
|
6
6
|
name: string;
|
|
7
7
|
credentials: string;
|
|
8
|
-
description: string;
|
|
8
|
+
description: (string | null);
|
|
9
9
|
gcp_category: (EntityCategoryInputRow | null)[];
|
|
10
10
|
gcp_field: (EntityFieldInputRow | null)[];
|
|
11
11
|
gcp_tag: (EntityTagInputRow | null)[];
|
package/dist/row/GCPFullRow.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ import { EntityFieldInputRow } from "./EntityFieldInputRow";
|
|
|
3
3
|
import { EntityTagInputRow } from "./EntityTagInputRow";
|
|
4
4
|
export type GCPFullRow = {
|
|
5
5
|
id: string;
|
|
6
|
-
user_id:
|
|
6
|
+
user_id: string;
|
|
7
7
|
workspace_id: string;
|
|
8
8
|
name: string;
|
|
9
9
|
credentials: string;
|
|
10
|
-
description: string;
|
|
10
|
+
description: (string | null);
|
|
11
11
|
created_at: Date;
|
|
12
12
|
updated_at: Date;
|
|
13
13
|
gcp_category: (EntityCategoryInputRow | null)[];
|
package/dist/row/GCPRow.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type GCPUpdateRow = {
|
|
|
5
5
|
workspace_id: (string | null);
|
|
6
6
|
name: string;
|
|
7
7
|
credentials: (string | null);
|
|
8
|
-
description: string;
|
|
8
|
+
description: (string | null);
|
|
9
9
|
gcp_category: (EntityCategoryInputRow | null)[];
|
|
10
10
|
gcp_field: (EntityFieldInputRow | null)[];
|
|
11
11
|
gcp_tag: (EntityTagInputRow | null)[];
|
package/logo.png
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"framework": "npm",
|
|
9
9
|
"application": "package",
|
|
10
10
|
"private": false,
|
|
11
|
-
"version": "1.4.
|
|
11
|
+
"version": "1.4.5",
|
|
12
12
|
"author": "Amir Abolhasani",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "./dist/index.js",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"build": ""
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"namirasoft-core": "^1.4.
|
|
21
|
-
"namirasoft-site": "^1.4.
|
|
22
|
-
"namirasoft-node-cli": "^1.4.
|
|
23
|
-
"namirasoft-account": "^1.4.
|
|
20
|
+
"namirasoft-core": "^1.4.71",
|
|
21
|
+
"namirasoft-site": "^1.4.36",
|
|
22
|
+
"namirasoft-node-cli": "^1.4.7",
|
|
23
|
+
"namirasoft-account": "^1.4.72"
|
|
24
24
|
},
|
|
25
25
|
"bin": {
|
|
26
26
|
"ns-credential": "./dist/command/cli.js"
|
|
@@ -53,7 +53,7 @@ export class NamirasoftCredentialServer extends NSABaseServer
|
|
|
53
53
|
gcp: NamirasoftCredentialServerGCP;
|
|
54
54
|
constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void)
|
|
55
55
|
{
|
|
56
|
-
super(base_url, `1.4.
|
|
56
|
+
super(base_url, `1.4.5`, manager, onError);
|
|
57
57
|
this.healthz = new NamirasoftCredentialServerHealthz(this);
|
|
58
58
|
this.value = new NamirasoftCredentialServerValue(this);
|
|
59
59
|
this.a_w_s_category = new NamirasoftCredentialServerAWSCategory(this);
|
|
@@ -33,6 +33,7 @@ export class NamirasoftCredentialServerAWS extends NamirasoftCredentialServerBas
|
|
|
33
33
|
{
|
|
34
34
|
super(server);
|
|
35
35
|
this.List = this.List.bind(this);
|
|
36
|
+
this._GetFor = this._GetFor.bind(this);
|
|
36
37
|
this.Get = this.Get.bind(this);
|
|
37
38
|
this.Create = this.Create.bind(this);
|
|
38
39
|
this.Update = this.Update.bind(this);
|
|
@@ -46,6 +47,12 @@ export class NamirasoftCredentialServerAWS extends NamirasoftCredentialServerBas
|
|
|
46
47
|
let { data } = await this.server._get<{ rows: AWSRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value });
|
|
47
48
|
return data;
|
|
48
49
|
}
|
|
50
|
+
async _GetFor(user_id: string, id: string): Promise<AWSFullRow>
|
|
51
|
+
{
|
|
52
|
+
let path = `/application/user/${user_id}/aws/${id}`;
|
|
53
|
+
let { data } = await this.server._get<AWSFullRow>(path, {});
|
|
54
|
+
return data;
|
|
55
|
+
}
|
|
49
56
|
async Get(id: string): Promise<AWSFullRow>
|
|
50
57
|
{
|
|
51
58
|
let path = `/aws/${id}`;
|
|
@@ -33,6 +33,7 @@ export class NamirasoftCredentialServerAzure extends NamirasoftCredentialServerB
|
|
|
33
33
|
{
|
|
34
34
|
super(server);
|
|
35
35
|
this.List = this.List.bind(this);
|
|
36
|
+
this._GetFor = this._GetFor.bind(this);
|
|
36
37
|
this.Get = this.Get.bind(this);
|
|
37
38
|
this.Create = this.Create.bind(this);
|
|
38
39
|
this.Update = this.Update.bind(this);
|
|
@@ -46,6 +47,12 @@ export class NamirasoftCredentialServerAzure extends NamirasoftCredentialServerB
|
|
|
46
47
|
let { data } = await this.server._get<{ rows: AzureRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value });
|
|
47
48
|
return data;
|
|
48
49
|
}
|
|
50
|
+
async _GetFor(user_id: string, id: string): Promise<AzureFullRow>
|
|
51
|
+
{
|
|
52
|
+
let path = `/application/user/${user_id}/azure/${id}`;
|
|
53
|
+
let { data } = await this.server._get<AzureFullRow>(path, {});
|
|
54
|
+
return data;
|
|
55
|
+
}
|
|
49
56
|
async Get(id: string): Promise<AzureFullRow>
|
|
50
57
|
{
|
|
51
58
|
let path = `/azure/${id}`;
|
|
@@ -33,6 +33,7 @@ export class NamirasoftCredentialServerGCP extends NamirasoftCredentialServerBas
|
|
|
33
33
|
{
|
|
34
34
|
super(server);
|
|
35
35
|
this.List = this.List.bind(this);
|
|
36
|
+
this._GetFor = this._GetFor.bind(this);
|
|
36
37
|
this.Get = this.Get.bind(this);
|
|
37
38
|
this.Create = this.Create.bind(this);
|
|
38
39
|
this.Update = this.Update.bind(this);
|
|
@@ -46,6 +47,12 @@ export class NamirasoftCredentialServerGCP extends NamirasoftCredentialServerBas
|
|
|
46
47
|
let { data } = await this.server._get<{ rows: GCPRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value });
|
|
47
48
|
return data;
|
|
48
49
|
}
|
|
50
|
+
async _GetFor(user_id: string, id: string): Promise<GCPFullRow>
|
|
51
|
+
{
|
|
52
|
+
let path = `/application/user/${user_id}/gcp/${id}`;
|
|
53
|
+
let { data } = await this.server._get<GCPFullRow>(path, {});
|
|
54
|
+
return data;
|
|
55
|
+
}
|
|
49
56
|
async Get(id: string): Promise<GCPFullRow>
|
|
50
57
|
{
|
|
51
58
|
let path = `/gcp/${id}`;
|
|
@@ -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
|
|
|
@@ -43,7 +43,7 @@ export class AWSCategoryCreateCommand extends BaseFinalCommand
|
|
|
43
43
|
let token = this.app.storage.getNSAToken();
|
|
44
44
|
if (token == null)
|
|
45
45
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
46
|
-
let storage = new
|
|
46
|
+
let storage = new IStorageMemoryDedicated();
|
|
47
47
|
let manager = new TokenManager(storage, () => { });
|
|
48
48
|
manager.setValue(token, false);
|
|
49
49
|
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 AWSCategoryDeleteCommand 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 AWSCategoryGetCommand 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 AWSCategoryListCommand 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");
|
|
@@ -23,6 +23,7 @@ import { AWSDeleteCommand } from "./AWSDeleteCommand";
|
|
|
23
23
|
import { AWSGetCommand } from "./AWSGetCommand";
|
|
24
24
|
import { AWSListCommand } from "./AWSListCommand";
|
|
25
25
|
import { AWSUpdateCommand } from "./AWSUpdateCommand";
|
|
26
|
+
import { AWS_GetForCommand } from "./AWS_GetForCommand";
|
|
26
27
|
import { BaseNavigatorCommand } from "namirasoft-node-cli";
|
|
27
28
|
|
|
28
29
|
export class AWSCommand extends BaseNavigatorCommand
|
|
@@ -31,6 +32,7 @@ export class AWSCommand extends BaseNavigatorCommand
|
|
|
31
32
|
{
|
|
32
33
|
super(argv, {
|
|
33
34
|
"list": AWSListCommand,
|
|
35
|
+
"_getfor": AWS_GetForCommand,
|
|
34
36
|
"get": AWSGetCommand,
|
|
35
37
|
"create": AWSCreateCommand,
|
|
36
38
|
"update": AWSUpdateCommand,
|
|
@@ -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
|
|
|
@@ -64,7 +64,7 @@ export class AWSCreateCommand extends BaseFinalCommand
|
|
|
64
64
|
name: "description",
|
|
65
65
|
short: "",
|
|
66
66
|
description: "Provides the value of 'description' in body",
|
|
67
|
-
optional:
|
|
67
|
+
optional: true,
|
|
68
68
|
args: ["description"],
|
|
69
69
|
defaults: [""]
|
|
70
70
|
},
|
|
@@ -99,7 +99,7 @@ export class AWSCreateCommand extends BaseFinalCommand
|
|
|
99
99
|
let token = this.app.storage.getNSAToken();
|
|
100
100
|
if (token == null)
|
|
101
101
|
throw new Error("Token is not available. Please login first using:\nns-credential account config \nor \nns-credential account login.");
|
|
102
|
-
let storage = new
|
|
102
|
+
let storage = new IStorageMemoryDedicated();
|
|
103
103
|
let manager = new TokenManager(storage, () => { });
|
|
104
104
|
manager.setValue(token, false);
|
|
105
105
|
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 AWSDeleteCommand 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 AWSFieldCreateCommand 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 AWSFieldDeleteCommand 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 AWSFieldGetCommand 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 AWSFieldListCommand 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 AWSFieldUpdateCommand 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 AWSGetCommand 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 AWSListCommand 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 AWSTagCreateCommand 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");
|