@wavo-cloud/aws-secrets-manager-helper 0.1.7 → 0.1.8

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.
@@ -93,8 +93,8 @@ async function getClientSecret(clientId, clientIdsSecretIdOverride = null) {
93
93
  * Returns [{ clientId: String, secretId: String, ...secret }]
94
94
  * Skips all that are missing a region or organization
95
95
  */
96
- async function getAllClientSecrets() {
97
- const clientSecretIds = await getClientSecretIds()
96
+ async function getAllClientSecrets(clientIdsSecretIdOverride = null) {
97
+ const clientSecretIds = await getClientSecretIds(clientIdsSecretIdOverride)
98
98
  if (!clientSecretIds) return []
99
99
  const parsedClientSecrets = await Promise.all(
100
100
  Object.keys(clientSecretIds).map(async clientId => {
@@ -105,4 +105,5 @@ async function deleteClient(
105
105
 
106
106
  module.exports = {
107
107
  deleteClient,
108
+ deleteSecret,
108
109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavo-cloud/aws-secrets-manager-helper",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Wavo Cloud Infallible AWS Secrets Manager Helper",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {