UNPKG

haven-secrets-core

Version:

Core for Haven, the easy to use centralized secrets manager.

15 lines (12 loc) 358 B
import getAllUsers from "../aws/iam/users/getAllUsers.js"; import { path } from "../utils/config.js"; const getAllHavenUsers = async () => { try { const havenUsers = await getAllUsers(path); return havenUsers.Users; } catch (error) { console.log(`${error.code}: ${error.message}`); return error; } }; export default getAllHavenUsers;