Service accounts in Jaws Deploy are the recommended authentication mechanism in all automation flows. Whether you call our API directly, use our PowerShell SDK or one of our plugins - Service Accounts are the way to go. You can read more about the concept here.
To create a new Service Account and associated API Key:
Important: for security reasons this key cannot be retrieved later. If you loose it, you'll need to create a new one. Upon generation you'll have one-time access to the new key.
API keys can be deactivated and activated again at any later time. They can also be permanently deleted.
Whenever calling our API you need to generate proper authentication header and append it to all HTTP calls. This is also outlined in the REST API Reference.
The header value should be Authentication: Bearer <credential>
and to generate the <credential>
value execute the following logic:
Base64_Encode("{serviceAccountID}:{apiKey}")
Whenever you need to authenticate towards Jaws Deploy via one of our SDKs or Plugins you'll need to provide:
12345678-1234-1234-1234-123456789abc
35fcba5ca592b5b2a83eca3e2024b716b32400d7f52e9b95f81a12c82fc83034