Retrieve a SCRAM credential.
POST
/redpanda.core.admin.v2.SecurityService/GetScramCredential
curl \
--request POST 'http://localhost:9644/redpanda.core.admin.v2.SecurityService/GetScramCredential' \
--header "Content-Type: application/json" \
--header "Connect-Protocol-Version: 1" \
--header "Connect-Timeout-Ms: 42.0" \
--data '{"name":"string"}'
Request examples
# Headers
Connect-Protocol-Version: 1
Connect-Timeout-Ms: 42.0
# Payload
{
"name": "string"
}
Response examples (200)
{
"scramCredential": {
"mechanism": "SCRAM_MECHANISM_UNSPECIFIED",
"name": "string",
"passwordSetAt": "2023-01-15T01:30:15.01Z"
}
}
Response examples (default)
{
"code": "not_found",
"details": [
{
"debug": {},
"type": "string",
"value": "@file"
}
],
"message": "string"
}