pub struct UpdateAwsTarget {Show 18 fields
pub access_key: String,
pub access_key_id: String,
pub comment: Option<String>,
pub description: Option<String>,
pub generate_external_id: Option<bool>,
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 region: Option<String>,
pub role_arn: Option<String>,
pub session_token: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub update_version: Option<bool>,
pub use_gw_cloud_identity: Option<bool>,
}Expand description
UpdateAwsTarget : updateAWSTarget is a command that updates a new target. [Deprecated: Use target-update-aws command]
Fields§
§access_key: StringAWS secret access key
access_key_id: StringAWS access key ID
comment: Option<String>Deprecated - use description
description: Option<String>Description of the object
generate_external_id: Option<bool>A unique auto-generated value used in your AWS account when configuring your AWS IAM role to securely delegate access to Akeyless. Relevant only when using GW cloud ID
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 target 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: StringTarget name
new_name: Option<String>New target name
region: Option<String>AWS region
role_arn: Option<String>AWS IAM role identifier that Gateway will assume in your AWS account, relevant only when using external ID
session_token: Option<String>Required only for temporary security credentials retrieved using STS
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
update_version: Option<bool>Deprecated
use_gw_cloud_identity: Option<bool>Use the GW’s Cloud IAM
Implementations§
Trait Implementations§
Source§impl Clone for UpdateAwsTarget
impl Clone for UpdateAwsTarget
Source§fn clone(&self) -> UpdateAwsTarget
fn clone(&self) -> UpdateAwsTarget
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 UpdateAwsTarget
impl Debug for UpdateAwsTarget
Source§impl Default for UpdateAwsTarget
impl Default for UpdateAwsTarget
Source§fn default() -> UpdateAwsTarget
fn default() -> UpdateAwsTarget
Source§impl<'de> Deserialize<'de> for UpdateAwsTarget
impl<'de> Deserialize<'de> for UpdateAwsTarget
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 UpdateAwsTarget
impl PartialEq for UpdateAwsTarget
Source§fn eq(&self, other: &UpdateAwsTarget) -> bool
fn eq(&self, other: &UpdateAwsTarget) -> bool
self and other values to be equal, and is used by ==.