AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Information about credentials that provide access to a private Docker registry. When this is set:
imagePullCredentialsType
must be set to SERVICE_ROLE
.
images cannot be curated or an Amazon ECR image.
For more information, see Private Registry with Secrets Manager Sample for CodeBuild.
Namespace: Amazon.CodeBuild.Model
Assembly: AWSSDK.CodeBuild.dll
Version: 3.x.y.z
public class RegistryCredential
The RegistryCredential type exposes the following members
Name | Description | |
---|---|---|
RegistryCredential() |
Name | Type | Description | |
---|---|---|---|
Credential | System.String |
Gets and sets the property Credential. The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.
The |
|
CredentialProvider | Amazon.CodeBuild.CredentialProviderType |
Gets and sets the property CredentialProvider. The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5