Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize configuration secured properties #273

Open
smoneuse opened this issue Jan 24, 2020 · 0 comments
Open

Customize configuration secured properties #273

smoneuse opened this issue Jan 24, 2020 · 0 comments
Assignees

Comments

@smoneuse
Copy link

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
@smoneuse smoneuse self-assigned this Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant