# bindee

> > Simple CLI tool that fetches key-value secrets from AWS Secrets Manager and generates an env.yml file > designed to be used in a CI environment

Latest version **0.1.0** (published 2019-01-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install bindee
pnpm add bindee
yarn add bindee
bun add bindee
```

Provides the command `bindee`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2019-01-31 |
| First published | 2019-01-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | yat23 |

## Links

- npm: https://www.npmjs.com/package/bindee
- Repository: https://github.com/FBI23/bindee
- Homepage: https://github.com/FBI23/bindee#readme
- Issues: https://github.com/FBI23/bindee/issues
- npm.io page: https://npm.io/package/bindee

## Dependencies (3)

- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.395.0
- [commander](https://npm.io/package/commander.md) ^2.19.0

## Recent versions

- 0.1.0 (latest) — 2019-01-31
- 0.0.7 — 2019-01-31
- 0.0.6 — 2019-01-31
- 0.0.5 — 2019-01-31
- 0.0.4 — 2019-01-30
- 0.0.3 — 2019-01-30
- 0.0.2 — 2019-01-30
- 0.0.1 — 2019-01-30

## README

# bindee

> Simple CLI tool that fetches key-value secrets from AWS Secrets Manager and generates an env.yml file
> designed to be used in a CI environment

## Features

- Fetches specified secret
- Allows default attributes to included in constructed files

## Install

Locally, for usage with `npx`:

```
$ npm i bindee -D
```

Or globally:

```
$ npm i bindee -g
```

## Usage

```
Usage: bindee [options]

Use bindee to fetch key-value secrets and generate a YAML file

Options:
  -V, --version                                  output the version number
  -s, --secret-name <secret name>                name of the secret to fetch (required)
  -f, --file-name <file name>                    name of the output file (default: env.yml)
  -r, --region <region>                          AWS region (default: eu-west-1)
  -aki, --access-key-id <access key id>          AWS IAM Access Key Id
  -sak, --secret-access-key <secret access key>  AWS IAM Secret Access Key
  -p, --aws-profile <profile></profile>          Select which AWS credentials should be used
  -h, --help                                     output usage information



```

## Example

```
$ npx bindee --s production-server-secret
```

Output (env.yml):

```
SECRET_ONE: bindee
JWT_SECRET: YAT

```

## Including Default Values

Place a property in `package.json` and it will be included in all generated files:

```
...
  "bindee": {
    "include": {
      BASE_URL: https://github.com/FBI23/bindee,
      SEED: 123,
    }
  }
  ...
```

## License

MIT © [Yatin Badal](https://yatin.io)

---
_Source: https://npm.io/package/bindee · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
