secretform

0.0.3 • Public • Published

Secretform

Installation

npm i -g secretform

Configuration

{
  "args": {
    "outputPath": "./tests/secrets.json",
    "output": "json",
    "configPath": "./tests/secretform.json"
  },
  "secrets": [
    {
      "provider": {
        "type": "aws_secretmanager",
        "keys": ["test-secrets", "test-secrets2"],
        "profile": "default"
      },
      "map_file": "tests/map.json",
      "map": {
        "my_local_secret": "my_secret"
      },
      "options": {
        "show_map_only": false
      }
    },
    {
      "provider": {
        "type": "aws_secretmanager",
        "keys": ["test-secrets"],
        "profile": "default"
      }
    }
  ]
}
args:
  outputPath: "./tests/secrets.yaml"
  output: "yaml"
  configPath: "./tests/secretform.yaml"
secrets:
  - provider:
      type: aws_secretmanager
      keys:
        - "{{stage}}-secrets"
        - "{{stage}}-secrets2"
      profile: default
    map:
      my_local_secret: my_secret
    options:
      show_map_only: false

Usage

secretform --output json --outputPath "./tests/secrets.json" --configPath "./tests/secretform.json"

Readme

Keywords

none

Package Sidebar

Install

npm i secretform

Weekly Downloads

0

Version

0.0.3

License

ISC

Unpacked Size

10 kB

Total Files

14

Last publish

Collaborators

  • niradler55