ModelExternalAuth
Authentication settings for an external model endpoint; secret values are referenced rather than returned.
kindKind (string)
Possible values: [bearer, none]
기본값:
nonesecret_ref object
Opaque reference to a stored secret. Required when kind is bearer; raw tokens are never returned.
- string
- null
string
headerHeader (string)
기본값:
AuthorizationprefixPrefix (string)
기본값:
Bearer headers object
Extra headers sent alongside the credential header, in the connector options.headers idiom: a plain key carries a non-sensitive constant ({'X-API-Version': '2024-06-01'}), while a <Name>_ref key carries a secret:// reference whose value the caller resolves for the header <Name> ({'X-API-Key_ref': 'secret://secret.<uuid>/<key>'}). dhub2 does not call external model endpoints — this is a stored contract; cores.secrets.ref.hydrate_options resolves the refs for a caller.
property name*string
ModelExternalAuth
{
"kind": "none",
"secret_ref": "string",
"header": "Authorization",
"prefix": "Bearer ",
"headers": {}
}