Jump to content

Storing credentials or API keys for use in scripts

Recommended Posts

I would like to run a couple of PowerShell scripts against servers to collect data and submit it to IT Glue via their API.  This requires that I have access to the API Key in the script.

I don't want to store the API key inside the script.  Is there a way to store it securely in a global variable that scripts can access?  I also don't want normal tech's to have access to the API key.

I.e. only the script and LT Admin user should be able to view / retrieve the key.

Any ideas on how to accomplish this?

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...