This message was deleted.
# help
b
This message was deleted.
c
If I want my team to use my self-hosted Cloud Pricing API, do they just need the self-hosted API key secret and the endpoint URL and don't have to create an Infracost account?
w
@cuddly-analyst-30573 yep, they don’t need to create infracost accounts. The latest VSCode extension installs the CLI so I think all you need to tell your team members is to set the endpoint and your generated API key using the
infracost configure
commands you pasted above - if that doesn’t work as the binary is not in the path, they can set the env vars. One way to confirm that your own vscode extension is using your self-hosted API key is to goto Infracost Cloud > Org Settings > Regenerate API key so your laptop doesn’t have the new key. But if you do that, you should also update the INFRACOST_API_KEY env var for your self-hosted Cloud Pricing API so it can continue to download the pricing dumps in its k8s/docker cron job.
1