pub struct RegistryCredential {
pub credential: String,
pub credential_provider: String,
}
Expand description
Information about credentials that provide access to a private Docker registry. When this is set:
-
imagePullCredentialsType
must be set toSERVICE_ROLE
. -
images cannot be curated or an Amazon ECR image.
For more information, see Private Registry with Secrets Manager Sample for CodeBuild.
Fields§
§credential: String
The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.
The credential
can use the name of the credentials only if they exist in your current Region.
credential_provider: String
The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
Trait Implementations§
Source§impl Clone for RegistryCredential
impl Clone for RegistryCredential
Source§fn clone(&self) -> RegistryCredential
fn clone(&self) -> RegistryCredential
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RegistryCredential
impl Debug for RegistryCredential
Source§impl Default for RegistryCredential
impl Default for RegistryCredential
Source§fn default() -> RegistryCredential
fn default() -> RegistryCredential
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegistryCredential
impl<'de> Deserialize<'de> for RegistryCredential
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RegistryCredential
impl PartialEq for RegistryCredential
Source§impl Serialize for RegistryCredential
impl Serialize for RegistryCredential
impl StructuralPartialEq for RegistryCredential
Auto Trait Implementations§
impl Freeze for RegistryCredential
impl RefUnwindSafe for RegistryCredential
impl Send for RegistryCredential
impl Sync for RegistryCredential
impl Unpin for RegistryCredential
impl UnwindSafe for RegistryCredential
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more