pub struct RotatedSecretUpdateDockerhub {Show 19 fields
pub add_tag: Option<Vec<String>>,
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 keep_prev_version: Option<String>,
pub key: Option<String>,
pub max_versions: Option<String>,
pub name: String,
pub new_name: Option<String>,
pub password_length: Option<String>,
pub rm_tag: Option<Vec<String>>,
pub rotation_event_in: Option<Vec<String>>,
pub rotation_hour: Option<i32>,
pub rotation_interval: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§add_tag: Option<Vec<String>>List of the new tags that will be attached to this item
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
keep_prev_version: Option<String>Whether to keep previous version [true/false]. If not set, use default according to account settings
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
new_name: Option<String>New item name
password_length: Option<String>The length of the password to be generated
rm_tag: Option<Vec<String>>List of the existent tags that will be removed from this item
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)
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 RotatedSecretUpdateDockerhub
impl RotatedSecretUpdateDockerhub
pub fn new(name: String) -> RotatedSecretUpdateDockerhub
Trait Implementations§
Source§impl Clone for RotatedSecretUpdateDockerhub
impl Clone for RotatedSecretUpdateDockerhub
Source§fn clone(&self) -> RotatedSecretUpdateDockerhub
fn clone(&self) -> RotatedSecretUpdateDockerhub
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 RotatedSecretUpdateDockerhub
impl Debug for RotatedSecretUpdateDockerhub
Source§impl Default for RotatedSecretUpdateDockerhub
impl Default for RotatedSecretUpdateDockerhub
Source§fn default() -> RotatedSecretUpdateDockerhub
fn default() -> RotatedSecretUpdateDockerhub
Source§impl<'de> Deserialize<'de> for RotatedSecretUpdateDockerhub
impl<'de> Deserialize<'de> for RotatedSecretUpdateDockerhub
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 RotatedSecretUpdateDockerhub
impl PartialEq for RotatedSecretUpdateDockerhub
Source§fn eq(&self, other: &RotatedSecretUpdateDockerhub) -> bool
fn eq(&self, other: &RotatedSecretUpdateDockerhub) -> bool
self and other values to be equal, and is used by ==.