For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

AWS CodeCommit

Create a tenant Secret for securing AWS CodeCommit credentials

AWS CodeCommit is a managed source control service for Git repositories on AWS. It lets teams store code, track changes, collaborate through branches and merges, and keep a complete commit history.

Prerequisites

To create a Secret for securing AWS CodeCommit credentials, you need the following information.

Source system requirements

  • GITSYNC_USERNAME: The Git username generated for AWS CodeCommit HTTPS access.

  • GITSYNC_PASSWORD: The Git password generated for AWS CodeCommit HTTPS access.

Generate these credentials in AWS IAM, or get them from an administrator.

Create a Secret for securing AWS CodeCommit credentials

To create an AWS CodeCommit Secret in DataOS, you need access to the DataOS Command Line Interface (CLI) and the required permissions.

Step 1: Create a manifest file

Create a manifest file with the configuration details for your AWS CodeCommit Secret.

name: ${{codecommit-secret-name}}
version: v2alpha
type: secret
tags:
  - ${{tag-1}}
  - ${{tag-2}}
description: ${{secret-description}}
owner: ${{owner-id}}
secret:
  type: key-value
  data:
    GITSYNC_USERNAME: ${{codecommit-gitsync-username}}
    GITSYNC_PASSWORD: ${{codecommit-gitsync-password}}
name: gitsecretsn
version: v2alpha
type: secret
tags:
  - dataos:type:resource
  - dataos:resource:secret
description: Secret for AWS CodeCommit authentication
owner: iamgroottmdcio
secret:
  type: key-value
  data:
    GITSYNC_PASSWORD: '**********'
    GITSYNC_USERNAME: '**********'

For more information about each attribute, refer to the configurations section.

Step 2: Apply the manifest

Use the apply command to create the AWS CodeCommit Secret in DataOS.

Example Usage:

Step 3: Validate the Secret

Use the get command to verify the AWS CodeCommit Secret in DataOS.

Expected Output:

To list all Secrets in the DataOS environment, run the following command.

Expected Output:

Delete the Secret

To delete the AWS CodeCommit Secret, use one of the following commands:

Specify the Resource type and Secret name in the delete command.

Example Usage:

Last updated

Was this helpful?