pub struct GetSshCertificate {
pub cert_issuer_name: String,
pub cert_username: String,
pub json: Option<bool>,
pub legacy_signing_alg_name: Option<bool>,
pub public_key_data: Option<String>,
pub token: Option<String>,
pub ttl: Option<i64>,
pub uid_token: Option<String>,
}Fields§
§cert_issuer_name: StringThe name of the SSH certificate issuer
cert_username: StringThe username to sign in the SSH certificate
json: Option<bool>Set output format to JSON
legacy_signing_alg_name: Option<bool>Set this option to output legacy (‘ssh-rsa-cert-v01@openssh.com’) signing algorithm name in the certificate.
public_key_data: Option<String>SSH public key file contents. If this option is used, the certificate will be printed to stdout
token: Option<String>Authentication token (see /auth and /configure)
ttl: Option<i64>Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl GetSshCertificate
impl GetSshCertificate
pub fn new(cert_issuer_name: String, cert_username: String) -> GetSshCertificate
Trait Implementations§
Source§impl Clone for GetSshCertificate
impl Clone for GetSshCertificate
Source§fn clone(&self) -> GetSshCertificate
fn clone(&self) -> GetSshCertificate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetSshCertificate
impl Debug for GetSshCertificate
Source§impl Default for GetSshCertificate
impl Default for GetSshCertificate
Source§fn default() -> GetSshCertificate
fn default() -> GetSshCertificate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetSshCertificate
impl<'de> Deserialize<'de> for GetSshCertificate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetSshCertificate
impl PartialEq for GetSshCertificate
Source§fn eq(&self, other: &GetSshCertificate) -> bool
fn eq(&self, other: &GetSshCertificate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetSshCertificate
impl Serialize for GetSshCertificate
impl StructuralPartialEq for GetSshCertificate
Auto Trait Implementations§
impl Freeze for GetSshCertificate
impl RefUnwindSafe for GetSshCertificate
impl Send for GetSshCertificate
impl Sync for GetSshCertificate
impl Unpin for GetSshCertificate
impl UnsafeUnpin for GetSshCertificate
impl UnwindSafe for GetSshCertificate
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