Skip to content

Commit

Permalink
lint issues fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeshasiddiqa161 committed Oct 27, 2023
1 parent 44ec243 commit ba38889
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ A Fine-grained PAT ensures that your CI/CD pipeline can securely interact with y
<div style="text-align:center"><img src="images/pat-permissions.png" /></div>

!!! note
> Save the token cautiously, you'll need to save it in vault in upcoming tutorials.
> Save the token cautiously, you'll need to save it in `Vault` in upcoming tutorials.

Congratulations! You have successfully configured GitHub access. Let's move to next tutorial.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ When collaborating with Tekton Pipelines and housing your pipeline configuration

## Tutorial

1. Let's create SSH keys to access both source code and gitops repositories.
1. Let's create SSH keys to access both source code and GitOps repositories.

For SSH Access:

Expand All @@ -25,6 +25,6 @@ When collaborating with Tekton Pipelines and housing your pipeline configuration
- [`Add Deploy Key to your Repository`](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/managing-deploy-keys#deploy-keys)

> Note: A deploy key is specific to a single repository and cannot be used for multiple repositories.
> Save the keys cautiously, you'll need them to save in vault in upcoming tutorials.
> Save the keys cautiously, you'll need them to save in `Vault` in upcoming tutorials.
Cool! Let's move on to the next tutorial and store the credentials in Vault.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ In this tutorial, you'll learn how to securely store critical credentials in Vau
- Manage Helm Registry credentials for Helm chart deployments.
- Store SonarQube credentials for code quality analysis.
- Securely manage MongoDB credentials for database access.
- Store Rox credentials for feature flag management.
- Store `Rox` credentials for feature flag management.

## Key Results

Expand All @@ -22,7 +22,7 @@ In this tutorial, you'll learn how to securely store critical credentials in Vau
- Efficiently manage Helm Registry credentials within the `<your-tenant>/kv` and `stakater/` path in Vault for Helm chart deployments.
- Store SonarQube credentials within the `<your-tenant>/kv` path in Vault for code quality analysis.
- Securely manage MongoDB credentials for database access within the `<your-tenant>/kv/review-api/dev/` path in Vault.
- Store Rox credentials within the `<your-tenant>/kv` path in Vault for feature flag management.
- Store `Rox` credentials within the `<your-tenant>/kv` path in Vault for feature flag management.

## Tutorial

Expand Down Expand Up @@ -50,15 +50,15 @@ Login to Vault to view <your-tenant> path.

![create secret](images/create-secret.png)

1. Let's create a `pat-creds` secret for our PAT GitHub token. Write the name of the secret in `path` which is `pat-creds`. Add `secret data`, key: `username`, value: (your github username) and key: `password` , value: (your newly generated PAT). Hit save.
1. Let's create a `pat-creds` secret for our PAT GitHub token. Write the name of the secret in `path` which is `pat-creds`. Add `secret data`, key: `username`, value: (your GitHub username) and key: `password` , value: (your newly generated PAT). Hit save.

![secret data](images/secret-data.png)

### Create SSH Key Secret in Vault for Nordmart API Repo

1. Let's create a `nordmart-ssh-creds` secret for our SSH Key that we created in previous tutorials. Go to <your-tenant> in `Vault`. Click on `Create secret`. Write the name of the secret in `path` which is `nordmart-ssh-creds`. Add `secret data`, key: `api_private_key`, and value: (your newly generated SSH private key). Hit save.

![nordmart ssh](images/nordmart.png)
![Nordmart ssh](images/nordmart.png)

### Create SSH Key Secret in Vault for GitOps Repo

Expand Down

0 comments on commit ba38889

Please sign in to comment.