Link Search Menu Expand Document

Using Private Repos

M3O supports private repos by passing your git credentials securely to our runtime as secrets. To enable private repos simply store your credentials locally with the following command.

micro user config set git.credentials.[org]

GitHub

This page explains how to get a personal access token from GitHub.

Issue this command locally to save your personal access token to your local Micro config:

micro user config set git.credentials.github $your-personal-access-token

GitLab

This page explains how to get a personal access token from GitLab.

Issue this command locally to save your personal access token to your local Micro config:

micro user config set git.credentials.gitlab $your-personal-access-token

Bitbucket

This page explains how to get a personal access token from Bitbucket.

Issue this command locally to save your personal access token to your local Micro config:

micro user config set git.credentials.bitbucket $bitbucket-username:$your-personal-access-token

Please note the username requirement above.


Copyright © 2020 Micro Services, Inc.