Comments (4)
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/119273371
The labels on this github issue will be updated when the story is started.
from staticfile-buildpack.
Is there a reason you wouldn't prefer to use a route service to perform authentication instead of building it into the nginx configuration?
I think our logic was that basic auth that doesn't require integration with outside services was a reasonable thing to support in the buildpack; but introducing external integrations is, in my opinion, perhaps a function that's better served elsewhere in the system.
A route service would be more easily testable and reusable. Have you considered it as an alternative?
from staticfile-buildpack.
Thanks @flavorjones - I'm circulating that idea with the team, but cursory glance does raise one major concern for us around secrets management.
properties:
router:
route_services_secret: YOUR-SECRET-PASSPHRASE
We would need to developers to encrypt that before checking into our CD pipelines, and then decrypt that portion of the manifest as part of the automated push. For dynamic buildpacks we use libraries in the running app to decrypt on the fly with user provided services that stage the appropriate key.
Anyway, I'll see what others on the team think.
from staticfile-buildpack.
Got some education after talking with the team. We are waiting to move to 1.7 but otherwise the route service seems like a viable option. Thanks @flavorjones !
from staticfile-buildpack.
Related Issues (20)
- [QUESTION] When will staticfile-buildpack be available on cflinuxs4 stack? HOT 2
- Missing mime type for otf files (opentype fonts) ? HOT 5
- Release: staticfile-buildpack (Mar) HOT 1
- Ruby is not available in cflinuxfs4 HOT 1
- Release: staticfile-buildpack (Apr) HOT 1
- Release: staticfile-buildpack (May) HOT 1
- Release: staticfile-buildpack (Jun) HOT 1
- Release: staticfile-buildpack (Jul) HOT 1
- Release: staticfile-buildpack (Aug)
- Release: staticfile-buildpack (Sep) HOT 1
- Release: staticfile-buildpack (Oct) HOT 1
- Release: staticfile-buildpack (Nov) HOT 1
- Release: staticfile-buildpack (Dec) HOT 1
- Release: staticfile-buildpack (Jan) HOT 1
- Release: staticfile-buildpack (Feb) HOT 1
- Release: staticfile-buildpack (02-29) HOT 1
- Release: staticfile-buildpack (Mar)
- Release: staticfile-buildpack (03-14) HOT 1
- Sample code for loading the ngx-http-sub-module and subfilter HOT 2
- Release: staticfile-buildpack (03-28)
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 staticfile-buildpack.