Open gberche-orange opened 6 years ago
See somewhat related https://github.com/cloudfoundry/secure-credentials-broker and associated stories in the services api backlog This broker is similar to a user-provider-service but instead stores user-provided-credentials (at service provision time using arbitrary params) into credhub in order to securely serve them to apps.
With upcoming credhub support in cloudfoundry, see specs https://docs.google.com/document/d/1Sp7gNqyOyJgsaMUIGde6BCvSiqwvSQQK9PNdZycIBnM/edit# the brokers are expected to move from returning plain credentials such as
into credhub references of the following form, after having written them into credhub:
Static-creds should support a syntax allowing users to specify credhub-ref (pointing to credentials that are populated out of band by static-creds operator). At binding time, the broker should grant the bound application credhub permission to fetch the associated reference.