Single deployed director credential
Single deployed director credential
Single deployed director credential
Request
URI
GET
https://{opsmanager-installation}/api/v0/deployed/director/credentials/{id}
COPY
Path Parameters
string
id
Required
id
Responses
200
OK
{
"credential": {
"credential": {
"type": "string",
"value": {
"cert_pem": "string",
"private_key_pem": "string"
}
}
}
}
400
Setup is not completed
Returns
RequireSetupCompleted
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
401
Unauthorized
Returns
UnauthorizedResponse
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
403
Forbidden
Returns
ForbiddenResponse
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
404
BOSH Director has not been deployed, or the credential does not exist
Returns
NestedErrorsResponseVariant
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
object
errors
Optional
errors
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/v0/deployed/director/credentials/{id}