SecretType

org.llm4s.agent.guardrails.patterns.SecretPatterns.SecretType
See theSecretType companion class
object SecretType

Attributes

Companion
class
Source
SecretPatterns.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
SecretType.type

Members list

Type members

Classlikes

case object AnthropicKey extends SecretType

Anthropic API keys: sk-ant-...

Anthropic API keys: sk-ant-...

Attributes

Source
SecretPatterns.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class SecretType
class Object
trait Matchable
class Any
Show all
Self type
case object AwsAccessKey extends SecretType

AWS Access Key IDs: AKIA... (20 uppercase alphanumeric chars)

AWS Access Key IDs: AKIA... (20 uppercase alphanumeric chars)

Attributes

Source
SecretPatterns.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class SecretType
class Object
trait Matchable
class Any
Show all
Self type
case object GoogleApiKey extends SecretType

Google API keys: AIza...

Google API keys: AIza...

Attributes

Source
SecretPatterns.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class SecretType
class Object
trait Matchable
class Any
Show all
Self type
case object JwtToken extends SecretType

JWT tokens: three base64url segments separated by dots. The first segment always decodes to a JSON header starting with eyJ.

JWT tokens: three base64url segments separated by dots. The first segment always decodes to a JSON header starting with eyJ.

Attributes

Source
SecretPatterns.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class SecretType
class Object
trait Matchable
class Any
Show all
Self type
JwtToken.type
case object LangfuseKey extends SecretType

Langfuse public and secret keys: pk-lf-... / sk-lf-...

Langfuse public and secret keys: pk-lf-... / sk-lf-...

Attributes

Source
SecretPatterns.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class SecretType
class Object
trait Matchable
class Any
Show all
Self type
case object OpenAIKey extends SecretType

OpenAI API keys: sk-..., and the project, service-account and admin keys sk-proj-..., sk-svcacct-... and sk-admin-..., which also hold - and _.

OpenAI API keys: sk-..., and the project, service-account and admin keys sk-proj-..., sk-svcacct-... and sk-admin-..., which also hold - and _.

Attributes

Source
SecretPatterns.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class SecretType
class Object
trait Matchable
class Any
Show all
Self type
OpenAIKey.type
case object PrivateKeyPem extends SecretType

A PEM private key (PKCS#8, RSA, EC, DSA, OpenSSH, encrypted): the whole block, from the -----BEGIN ... PRIVATE KEY----- line through -----END ... PRIVATE KEY-----. A block cut off before its footer matches through the base64 lines after the header.

A PEM private key (PKCS#8, RSA, EC, DSA, OpenSSH, encrypted): the whole block, from the -----BEGIN ... PRIVATE KEY----- line through -----END ... PRIVATE KEY-----. A block cut off before its footer matches through the base64 lines after the header.

Attributes

Source
SecretPatterns.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class SecretType
class Object
trait Matchable
class Any
Show all
Self type
case object VoyageKey extends SecretType

Voyage AI keys: pa-...

Voyage AI keys: pa-...

Attributes

Source
SecretPatterns.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class SecretType
class Object
trait Matchable
class Any
Show all
Self type
VoyageKey.type

Value members

Concrete fields

All 8 built-in types, including PrivateKeyPem.

All 8 built-in types, including PrivateKeyPem.

Attributes

Source
SecretPatterns.scala

The 7 types checked by default (excludes PrivateKeyPem).

The 7 types checked by default (excludes PrivateKeyPem).

Attributes

Source
SecretPatterns.scala