Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update proxy.md #9357

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions kb/reference-architectures/ccm/onboarding/autostopping/proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,27 @@ title: Proxy
description: Cloud Cost Management - AutoStopping using a Proxy VM
---

# Mantinence

## Roatate API Key

When the API key you used when provision the proxy expires, you will need to rotate the key manually.

Log into the box via SSH using the PEM key you specified when creating the proxy.

The API Key is stored in a file located at `/var/lw_proxy/config.toml`:

```
accessPointID="ap-crun4gs76otnefrectlg"
apiURL="https://app.harness.io/gratis/lw/api"
proxyPort=8093
usageTrackingPort=8094
authToken="sat.wlgELJ0TTre5aZhzpt8gVA.xxx.xxx"
accountID="wlgELJ0TTre5aZhzpt8gVA"
```

Replace the `authToken` key with your newly created token.

# Troubleshooting

When troubleshooting issues with the Auto Stopping proxy the following are simple steps you can take to narrow down what could be causing issues.
Expand Down