{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codebuild/refs/heads/main/json-structure/amazon-codebuild-registry-credential-structure.json", "name": "RegistryCredential", "description": "

Information about credentials that provide access to a private Docker registry. When this is set:

For more information, see Private Registry with Secrets Manager Sample for CodeBuild.

", "type": "object", "properties": { "credential": { "allOf": [ { "$ref": "#/components/schemas/NonEmptyString" }, { "description": "

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 Amazon Web Services Region.

" } ] }, "credentialProvider": { "allOf": [ { "$ref": "#/components/schemas/CredentialProviderType" }, { "description": " The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager. " } ] } }, "required": [ "credential", "credentialProvider" ] }