Struct rusoto_glue::ConnectionPasswordEncryption
source · [−]pub struct ConnectionPasswordEncryption {
pub aws_kms_key_id: Option<String>,
pub return_connection_password_encrypted: bool,
}
Expand description
The data structure used by the Data Catalog to encrypt the password as part of CreateConnection
or UpdateConnection
and store it in the ENCRYPTED_PASSWORD
field in the connection properties. You can enable catalog encryption or only password encryption.
When a CreationConnection
request arrives containing a password, the Data Catalog first encrypts the password using your KMS key. It then encrypts the whole connection object again if catalog encryption is also enabled.
This encryption requires that you set KMS key permissions to enable or restrict access on the password key according to your security requirements. For example, you might want only administrators to have decrypt permission on the password key.
Fields
aws_kms_key_id: Option<String>
An KMS key that is used to encrypt the connection password.
If connection password protection is enabled, the caller of CreateConnection
and UpdateConnection
needs at least kms:Encrypt
permission on the specified KMS key, to encrypt passwords before storing them in the Data Catalog.
You can set the decrypt permission to enable or restrict access on the password key according to your security requirements.
return_connection_password_encrypted: bool
When the ReturnConnectionPasswordEncrypted
flag is set to "true", passwords remain encrypted in the responses of GetConnection
and GetConnections
. This encryption takes effect independently from catalog encryption.
Trait Implementations
sourceimpl Clone for ConnectionPasswordEncryption
impl Clone for ConnectionPasswordEncryption
sourcefn clone(&self) -> ConnectionPasswordEncryption
fn clone(&self) -> ConnectionPasswordEncryption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConnectionPasswordEncryption
impl Debug for ConnectionPasswordEncryption
sourceimpl Default for ConnectionPasswordEncryption
impl Default for ConnectionPasswordEncryption
sourcefn default() -> ConnectionPasswordEncryption
fn default() -> ConnectionPasswordEncryption
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ConnectionPasswordEncryption
impl<'de> Deserialize<'de> for ConnectionPasswordEncryption
sourcefn 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
sourceimpl PartialEq<ConnectionPasswordEncryption> for ConnectionPasswordEncryption
impl PartialEq<ConnectionPasswordEncryption> for ConnectionPasswordEncryption
sourcefn eq(&self, other: &ConnectionPasswordEncryption) -> bool
fn eq(&self, other: &ConnectionPasswordEncryption) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ConnectionPasswordEncryption) -> bool
fn ne(&self, other: &ConnectionPasswordEncryption) -> bool
This method tests for !=
.
impl StructuralPartialEq for ConnectionPasswordEncryption
Auto Trait Implementations
impl RefUnwindSafe for ConnectionPasswordEncryption
impl Send for ConnectionPasswordEncryption
impl Sync for ConnectionPasswordEncryption
impl Unpin for ConnectionPasswordEncryption
impl UnwindSafe for ConnectionPasswordEncryption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more