https://github.com/remoteit/insomnia-plugin-remoteit
Insomnia plugin for remote.it API authentication
https://github.com/remoteit/insomnia-plugin-remoteit
Last synced: 9 months ago
JSON representation
Insomnia plugin for remote.it API authentication
- Host: GitHub
- URL: https://github.com/remoteit/insomnia-plugin-remoteit
- Owner: remoteit
- License: mit
- Created: 2020-10-18T18:34:20.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-01-30T15:52:49.000Z (over 2 years ago)
- Last Synced: 2024-08-09T10:53:23.967Z (almost 2 years ago)
- Language: JavaScript
- Homepage: https://github.com/remoteit/insomnia-plugin-remoteit
- Size: 24.4 KB
- Stars: 1
- Watchers: 13
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Insomnia plugin for remote.it API authentication
This is a plugin for [Insomnia](https://insomnia.rest/) that allows the signing of HTTP Requests for [remote.it](https://remote.it/) API authentication.
## Installation
Install the `insomnia-plugin-remoteit` plugin from Preferences -> Plugins.
## How to use
In the query `Auth` tab, select `Bearer Token` and add the `remote.it API authentication`
template tag in the `TOKEN` field.
The plugin will get your credentials from your _remote.it_ credentials file located at (the credentials below are non working examples, make sure to use your credentials)
`~/.remoteit/credentials`:
```ini
R3_ACCESS_KEY_ID=PV7BWOOSA34XBPHDYFFO
R3_SECRET_ACCESS_KEY=UZGhn/fqEYUPnhX6kZ3Z5uces3i0dq9YNw2+cOKh
```
Your credential file may contain multiple profiles:
```ini
[default]
R3_ACCESS_KEY_ID=PV7BWOOSA34XBPHDYFFO
R3_SECRET_ACCESS_KEY=UZGhn/fqEYUPnhX6kZ3Z5uces3i0dq9YNw2+cOKh
[test]
R3_ACCESS_KEY_ID=OYJKQK4O43MXYI7JHSUI
R3_SECRET_ACCESS_KEY=F/WCo0MH3uuyj1rYnXHDP+DqSIXkwKOpn/C0MbWa
```
You can specify the `remote.it Profile` you want to use on the template tag. Profile names
are case-insensitive and cannot contain a period.
The `default` profile will be selected by default.