pub struct RotatedSecretCreateDockerhub {Show 17 fields
pub authentication_credentials: Option<String>,
pub auto_rotate: Option<String>,
pub delete_protection: Option<String>,
pub description: Option<String>,
pub item_custom_fields: Option<HashMap<String, String>>,
pub json: Option<bool>,
pub key: Option<String>,
pub max_versions: Option<String>,
pub name: String,
pub password_length: Option<String>,
pub rotation_event_in: Option<Vec<String>>,
pub rotation_hour: Option<i32>,
pub rotation_interval: Option<String>,
pub tags: Option<Vec<String>>,
pub target_name: String,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§authentication_credentials: Option<String>The credentials to connect with use-user-creds/use-target-creds
auto_rotate: Option<String>Whether to automatically rotate every –rotation-interval days, or disable existing automatic rotation [true/false]
delete_protection: Option<String>Protection from accidental deletion of this object [true/false]
description: Option<String>Description of the object
item_custom_fields: Option<HashMap<String, String>>Additional custom fields to associate with the item
json: Option<bool>Set output format to JSON
key: Option<String>The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
max_versions: Option<String>Set the maximum number of versions, limited by the account settings defaults.
name: StringRotated secret name
password_length: Option<String>The length of the password to be generated
rotation_event_in: Option<Vec<String>>How many days before the rotation of the item would you like to be notified
rotation_hour: Option<i32>The Hour of the rotation in UTC
rotation_interval: Option<String>The number of days to wait between every automatic key rotation (1-365)
Add tags attached to this object
target_name: StringThe target name to associate
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl RotatedSecretCreateDockerhub
impl RotatedSecretCreateDockerhub
pub fn new(name: String, target_name: String) -> RotatedSecretCreateDockerhub
Trait Implementations§
Source§impl Clone for RotatedSecretCreateDockerhub
impl Clone for RotatedSecretCreateDockerhub
Source§fn clone(&self) -> RotatedSecretCreateDockerhub
fn clone(&self) -> RotatedSecretCreateDockerhub
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 RotatedSecretCreateDockerhub
impl Debug for RotatedSecretCreateDockerhub
Source§impl Default for RotatedSecretCreateDockerhub
impl Default for RotatedSecretCreateDockerhub
Source§fn default() -> RotatedSecretCreateDockerhub
fn default() -> RotatedSecretCreateDockerhub
Source§impl<'de> Deserialize<'de> for RotatedSecretCreateDockerhub
impl<'de> Deserialize<'de> for RotatedSecretCreateDockerhub
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>,
Source§impl PartialEq for RotatedSecretCreateDockerhub
impl PartialEq for RotatedSecretCreateDockerhub
Source§fn eq(&self, other: &RotatedSecretCreateDockerhub) -> bool
fn eq(&self, other: &RotatedSecretCreateDockerhub) -> bool
self and other values to be equal, and is used by ==.