Secret

org.llm4s.security.Secret
See theSecret companion class
@Stable
object Secret

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Secret.type

Members list

Value members

Concrete methods

def apply(value: String): Secret

A configured credential: an API key, a password, a client secret. Never evicted from the registry.

A configured credential: an API key, a password, a client secret. Never evicted from the registry.

Attributes

def basic(user: String, password: String): Secret

HTTP Basic credentials: registers the password and the header's base64 of user:password.

HTTP Basic credentials: registers the password and the header's base64 of user:password.

Attributes

def token(value: String): Secret

A short-lived token obtained at runtime (OAuth, IAM, token exchange). May be evicted at the registry's cap.

A short-lived token obtained at runtime (OAuth, IAM, token exchange). May be evicted at the registry's cap.

Attributes