Comments (2)
Hi @faizan-syed,
No, there are no plans to implement this.
Secret-store services are a non-standard thing (not CF in general, and certainly not Kubernetes. Backman also has to fit with Kubernetes paradigms), it would need custom logic for reading, parsing and templating these ontop of all other ENV vars and bindings (before even doing the normal service bindings parsing for CF/K8s) that would probably result in a very hacky codebase if it can even be reasonably implemented.
But more importantly it serves no purposes. There's no additional security to be gained. Environment variables are where you are supposed to store your credentials, users with enough permissions to read an app's ENV vars or user-provided services on CF can just as well push apps that print your entire secret-store values onto STDOUT or HTTP, etc.
If you are on CF I would suggest though to at least separate out your service credentials/bindings into user-provided service instances (see cf cups
) instead of configuring these entirely in BACKMAN_CONFIG
. This way they are stored within the VCAP_SERVICES ENV var and only users with SpaceDeveloper role can read those.
If you really do not want to have a particular secret appear in any ENV var whatsoever, then I would suggest to deploy Backman with a custom starter script that first fetches the needed secret-store values upon startup and populates them into the Backman config.json
file instead of BACKMAN_CONFIG
, and only after that starts the actual Backman binary.
from backman.
Hi ,
Do we have any thoughts on this? are we considering implementing this feature ?
@JamesClonk
from backman.
Related Issues (20)
- Restore of other database HOT 2
- Identification of databases
- [Bug] Mysqldump failing due to unknown table 'COLUMN_STATISTICS' in information_schema HOT 1
- backman:1.22.0 vulnerabilities HOT 3
- v1.23 doesn't start HOT 1
- Possible vulnerability because of encryption key reusage HOT 2
- DB Restore with specific file on API HOT 3
- After start a backup, the state is not available. HOT 1
- max_allowed_packet limit exceeded HOT 1
- UI Improvement: Restore Feedback shown only 5s
- Wrong Elasticsearch host produce: "Error Emitted => getaddrinfo ENOTFOUND" HOT 1
- Wrong Elasticsearch host produce: "Error Emitted => URI malformed" HOT 5
- Elasticsearch backup performance improvement HOT 5
- Add a triggered backup history of the service in the UI HOT 1
- elasticdump fails HOT 1
- Support for X509 certificates on the MySQL/MariaDB binding HOT 1
- Backman on iAPC to backup the database service running on other cloud platform (TCI) HOT 4
- Clound Foundry: service binding for [elasticsearch] is missing property: [port] HOT 4
- Backman not running backup as per schedule HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backman.