Closed izgeri closed 5 years ago
Copied from duplicate issue conjurinc/appliance#507
For PCF 2.0 and above, hosts need to be add-able to predictable layers in Conjur that correspond to org & space (using meta-data sent with the bind request).
Without a solution, Conjur becomes a very unwieldy manual process that cannot work at scale.
See 365 doc "Cloud Foundry" / "PCF Scalability Conversation Notes" for more details.
Copied from duplicate issue conjurinc/appliance#507
For PCF 2.0 and above, hosts need to be add-able to predictable layers in Conjur that correspond to org & space (using meta-data sent with the bind request).
Without a solution, Conjur becomes a very unwieldy manual process that cannot work at scale.
See 365 doc "Cloud Foundry" / "PCF Scalability Conversation Notes" for more details.
ETA for completion of this epic: Feb 21, 2019 Confidence level of ETA accuracy: 75%
Objective
Organizations using the service broker may find it difficult to entitle applications to access Conjur resources at scale since the host ID in Conjur is unknown until the application is pushed to CF and bound to a Conjur service instance. However, if an organization pre-creates the org and spaces that the applications will be deployed to, they will know in advance what the org / space GUIDs are where the app will be deployed and will be able to grant privilege to access Conjur resources to apps that will be deployed to that org and/or space.
Happily, PCF updated their service broker functionality as of Version 2.0 so that on a bind request the service broker is sent the org and space GUIDs. In light of this, we will revise the service broker's response to a bind request to include adding the host identity to layers for the org and space (with IDs given by the org/space GUIDs). We expect this will make it easier to manage privilege for CF applications in Conjur at scale while maintaining segregation of duties.
Open questions:
Supported versions for update:
Conjur Versions Supported by Update: EE 5.0+, OSS 1.0+ PCF Versions Supported by Update: 1.12+ CF Versions Supported by Update:
src/main/resources
in root at build time)Story Breakdown
Preparation
Development
profile.d
directoryCONJUR_FOLLOWER_URL
handles empty valuesDemonstration
Documentation
Release
XA
Future work:
app-guid
to identify bind!host
rather thanbinding_id