stefna/secrets-manager-json-provider

Json provider for secrets manager

dev-main 2024-09-12 08:41 UTC

This package is auto-updated.

Last update: 2024-11-12 09:18:07 UTC


README

JSON File Provider for Stefna Secrets Manager

Table of Contents

  1. Installation
  2. Secret Structure

Installation

$ composer require stefna/secrets-manager-core stefna/secrets-manager-json-provider

Secrets File Structure

[
	{
		"key": "my-secret-key",
		"value": "some secret"
	},
	{
		"key": "some-other-secret",
		"value": {
			"a": "b"
		},
		"metadata": {
			"foo": "bar"
		}
	}
]

or

{
	"my-secret-key": {
		"key": "my-secret-key",
		"value": "some secret"
	},
	"some-other-secret": {
		"key": "some-other-secret",
		"value": {
			"a": "b"
		},
		"metadata": {
			"foo": "bar"
		}
	}
}