AuthenticationObject

AuthenticationObject
AuthenticationObject

Target kafka server authentication details

JSON Example
{
    "enabled": true,
    "type": "auth type plain/scram-sha-512/oauth/tls",
    "username": "targetuser",
    "password": "target password"
}
boolean
enabled
Optional

Whether target authentication is enabled

string
type
Optional

Type of target kafka authentication plain , scrma-sha-512, ouath, tls

string
username
Optional

Target kafka username required only if type is plain or scrma-sha-512.

string
password
Optional

Target kafka password required only if type is plain or scrma-sha-512.

string
certificate
Optional

Target kafka certificate in base 64 encoded string required only if type is tls.

string
key
Optional

Target kafka key in base 64 encoded string required only if type is tls.

string
tokenEndpointUri
Optional

Target kafka oauth token endpoint URL required only if target auth type is oauth.

boolean
tls
Optional

Target kafka oauth serve certificate required only if target auth type is oauth.

string
oauthCertificate
Optional

Target kafka oauth certificate in base64 encoded string required only if target auth type is oauth and oauth tls is enabled.

string
oauthType
Optional

Target kafka oauth type clientSecret, refreshToken, accessToken required only if target auth type is oauth.

string
clientId
Optional

Target kafka oauth clientId required only if oauthType is clientSecret, refreshToken .

string
clientSecret
Optional

Target kafka oauth client secret required only if oauthType is clientSecret .

string
refreshToken
Optional

Target kafka oauth refresh token required only if oauthType is refreshToken .

string
accessToken
Optional

Target kafka oauth refresh token required only if oauthType is accessToken .