Bosh Director calls CredHub twice during a deployment for the same secret

Michael Stancampiano

It appears Director calls CredHub for a single secret twice during a deployment. Here are the Director calls:
1) Calls CredHub with a GET by name. In this case the query name parameter value is the identifier from the deployment manifest file.
2) Calls CredHub with a GET by ID using the id value for the secret returned in the first call.

Can someone explain why Director appears to be making two calls for the same secret during a deployment?



Join { to automatically receive all group messages.