Struct gapi_grpc::google::cloud::secretmanager::v1::CustomerManagedEncryption[][src]

pub struct CustomerManagedEncryption {
    pub kms_key_name: String,
}

Configuration for encrypting secret payloads using customer-managed encryption keys (CMEK).

Fields

kms_key_name: String

Required. The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.

For secrets using the [UserManaged][google.cloud.secretmanager.v1.Replication.UserManaged] replication policy type, Cloud KMS CryptoKeys must reside in the same location as the [replica location][Secret.UserManaged.Replica.location].

For secrets using the [Automatic][google.cloud.secretmanager.v1.Replication.Automatic] replication policy type, Cloud KMS CryptoKeys must reside in global.

The expected format is projects/*/locations/*/keyRings/*/cryptoKeys/*.

Trait Implementations

impl Clone for CustomerManagedEncryption[src]

impl Debug for CustomerManagedEncryption[src]

impl Default for CustomerManagedEncryption[src]

impl Message for CustomerManagedEncryption[src]

impl PartialEq<CustomerManagedEncryption> for CustomerManagedEncryption[src]

impl StructuralPartialEq for CustomerManagedEncryption[src]

Auto Trait Implementations

impl RefUnwindSafe for CustomerManagedEncryption

impl Send for CustomerManagedEncryption

impl Sync for CustomerManagedEncryption

impl Unpin for CustomerManagedEncryption

impl UnwindSafe for CustomerManagedEncryption

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]