pub struct RotationCipherResponseModel {
pub cipher_id: Option<Uuid>,
pub organization_id: Option<Uuid>,
pub type: Option<CipherType>,
pub data: Option<String>,
pub key: Option<String>,
pub revision_date: Option<String>,
}Expand description
RotationCipherResponseModel : The response to GET access-connectors/rotation/attempts/{id}/cipher – purpose-built for the access connector’s
narrow read (only this access connector’s claimed, executing attempt; see
GetRotationCipherQuery), deliberately not the general CipherResponseModel (which is
user-principal-bound).
Bit.Services.Pam.AccessConnector.Rotation.Api.Models.Response.RotationCipherResponseModel.Data
is the cipher’s encrypted JSON blob exactly as stored – opaque ciphertext the server never
decrypts.
Fields§
§cipher_id: Option<Uuid>The cipher’s unique identifier.
organization_id: Option<Uuid>The organization owning the cipher.
type: Option<CipherType>§data: Option<String>The cipher’s encrypted JSON blob, verbatim – opaque ciphertext.
key: Option<String>The cipher’s own wrapped encryption key, when it has one – opaque ciphertext. Null when the cipher is encrypted under the organization key directly.
revision_date: Option<String>The cipher’s current revision date (UTC) – what the access connector sends back as its last-known revision when writing the rotated secret.
Implementations§
Source§impl RotationCipherResponseModel
impl RotationCipherResponseModel
Sourcepub fn new() -> RotationCipherResponseModel
pub fn new() -> RotationCipherResponseModel
The response to GET access-connectors/rotation/attempts/{id}/cipher – purpose-built for
the access connector’s narrow read (only this access connector’s claimed, executing attempt;
see GetRotationCipherQuery), deliberately not the general CipherResponseModel (which is
user-principal-bound).
Bit.Services.Pam.AccessConnector.Rotation.Api.Models.Response.RotationCipherResponseModel.
Data is the cipher’s encrypted JSON blob exactly as stored – opaque ciphertext the server
never decrypts.
Trait Implementations§
Source§impl Clone for RotationCipherResponseModel
impl Clone for RotationCipherResponseModel
Source§fn clone(&self) -> RotationCipherResponseModel
fn clone(&self) -> RotationCipherResponseModel
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RotationCipherResponseModel
impl Debug for RotationCipherResponseModel
Source§impl Default for RotationCipherResponseModel
impl Default for RotationCipherResponseModel
Source§fn default() -> RotationCipherResponseModel
fn default() -> RotationCipherResponseModel
Source§impl<'de> Deserialize<'de> for RotationCipherResponseModel
impl<'de> Deserialize<'de> for RotationCipherResponseModel
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>,
impl StructuralPartialEq for RotationCipherResponseModel
Auto Trait Implementations§
impl Freeze for RotationCipherResponseModel
impl RefUnwindSafe for RotationCipherResponseModel
impl Send for RotationCipherResponseModel
impl Sync for RotationCipherResponseModel
impl Unpin for RotationCipherResponseModel
impl UnsafeUnpin for RotationCipherResponseModel
impl UnwindSafe for RotationCipherResponseModel
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Arc<> Read more