Skip to content

Commit

Permalink
Merge pull request #101 from yunkon-kim/241108-15
Browse files Browse the repository at this point in the history
Update README
  • Loading branch information
yunkon-kim authored Nov 8, 2024
2 parents c433330 + 0c43f1f commit 33508e7
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion secrets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,25 @@ See [Service account credentials](https://developers.google.com/workspace/guides

</details>

#### NCP

1. Access NCP (https://www.ncloud.com/)
2. Prepare your NCP credential (My Page > Manage Auth Key Create a New API Authentication Key)

<details>
<summary>Click to see sample</summary>

```
export NCLOUD_ACCESS_KEY="YOUR_ACCESS_KEY"
export NCLOUD_SECRET_KEY="YOUR_SECRET_KEY"
```

</details>

3. Store your AWS credential `secrets/credential-ncp`

4. (Before using `tofu`) Execute `source secrets/credential-ncp` to set NCP credential as environment variables

## Getting started

### Source code based installation and exeuction
Expand Down Expand Up @@ -122,9 +141,10 @@ Note - Modify `source="${PWD}"/secrets/` to the appropriate path.

Note - About credential injection:

- Set AWS credenttal as environment variable: `--env-file "${PWD}"/secrets/credentials`
- Set AWS credential as environment variable: `--env-file "${PWD}"/secrets/credentials`
- Set Azure credential as environment variable: `--env-file "${PWD}"/secrets/credentials`
- Mount GCP credential file: `--mount type=bind,source="${PWD}"/secrets/,target=/app/secrets/`
- (TBD) Set NCP credential as environment variable:

```bash

Expand Down

0 comments on commit 33508e7

Please sign in to comment.