pub struct SecretKey {
pub kid: String,
pub secret_key: String,
}Expand description
Key configuration that will be used to sign tokens in Objectstore requests.
Fields§
§kid: StringA key ID that Objectstore must use to load the corresponding public key.
secret_key: StringAn EdDSA private key.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SecretKey
impl RefUnwindSafe for SecretKey
impl Send for SecretKey
impl Sync for SecretKey
impl Unpin for SecretKey
impl UnwindSafe for SecretKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more