Skip to content

Customize configuration secured properties #273

Description

@smoneuse

It would be nice to have a security syntax on seedstack configuration properties, to avoid their appearence in the outputs (logs, diagnostics , ... ).

By default, properties like "password" are already secured, the idea is to customize the properties withing the configuration that will be hidden.

As an example the syntax could be : <<...>> for properties to be secured.

sampleConfiguration:
	unSecuredValue: Safe value can be logged
	<<securedValue>>: sensible value is hidden
        fooBarProperty<sampleProfile>: unsecured in profile "sampleProfile"
       <<fooBarProperty>><secondProfile>: secured in profile "secondProfile"

It would also be nice to be able to secure an entire sub-tree :

anotherConfiguration:
	myProperty: Safe value won't be hidden
	<<subTree>>:
		value1: will be hidden
		value2: will be hidden too

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions