pub struct Client { /* private fields */ }
Expand description
SSH User Certificates are presented by SSH clients when connecting to an SSH server to authenticate their connection. The SSH server must trust the SSH Certificate Authority used to sign the certificate.
Implementations§
Source§impl Client
impl Client
pub fn new(c: Client) -> Self
Sourcepub async fn create(
&self,
req: &SSHUserCertificateCreate,
) -> Result<SSHUserCertificate, Error>
pub async fn create( &self, req: &SSHUserCertificateCreate, ) -> Result<SSHUserCertificate, Error>
Create a new SSH User Certificate
Sourcepub async fn get(&self, id: &str) -> Result<SSHUserCertificate, Error>
pub async fn get(&self, id: &str) -> Result<SSHUserCertificate, Error>
Get detailed information about an SSH User Certficate
Sourcepub async fn update(
&self,
req: &SSHUserCertificateUpdate,
) -> Result<SSHUserCertificate, Error>
pub async fn update( &self, req: &SSHUserCertificateUpdate, ) -> Result<SSHUserCertificate, Error>
Update an SSH User Certificate
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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