SetLocalSecret

@Serializable
sealed interface SetLocalSecret

Used to set or change the read or write local secret of a repository.

Inheritors

Types

Link copied to clipboard
@Serializable
class KeyAndSalt(val key: SecretKey, val salt: PasswordSalt) : SetLocalSecret

Use to directly (without doing password hashing) set the SecretKey and PasswordSalt for read or write access.

Link copied to clipboard
@Serializable
value class Password(val value: Password) : SetLocalSecret

Password provided by the user