2023-06-11 16:23:35 +02:00
|
|
|
# ovh-apikey-manager
|
2023-06-11 17:01:59 +02:00
|
|
|
[![status-badge](https://ci.codeberg.org/api/badges/lauralani/ovh-apikey-manager/status.svg)](https://ci.codeberg.org/lauralani/ovh-apikey-manager)
|
2023-06-11 16:23:35 +02:00
|
|
|
|
2023-06-11 20:03:41 +02:00
|
|
|
A tiny tool to manage your OVH api keys
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
### Pre-Built Binary
|
|
|
|
To get the binary just download the latest release for your OS/Arch from the
|
|
|
|
[release page](https://codeberg.org/lauralani/ovh-apikey-manager/releases)
|
|
|
|
and put the binary somewhere convenient. The application assumes its config
|
|
|
|
file to be in the same directory as the binary.
|
|
|
|
|
|
|
|
### Compile from Source
|
|
|
|
Requirements:
|
|
|
|
- go1.20+
|
|
|
|
|
|
|
|
First, clone the repository to your local machine
|
|
|
|
```shell
|
|
|
|
git clone https://codeberg.org/lauralani/ovh-apikey-manager
|
|
|
|
|
|
|
|
# or if you want a specific branch:
|
|
|
|
git clone https://codeberg.org/lauralani/ovh-apikey-manager -b x.x.x
|
|
|
|
```
|
|
|
|
|
|
|
|
Then compile the project with
|
|
|
|
```shell
|
|
|
|
go build
|
|
|
|
```
|
|
|
|
|
|
|
|
## Configuration
|
2023-06-12 13:17:26 +02:00
|
|
|
The application assumes the config file `.env` in the current working directory.
|
|
|
|
If you installed from source you can just copy a template `.env` from the `examples/` directory,
|
|
|
|
or you can just [take it directly](https://codeberg.org/lauralani/ovh-apikey-manager/src/branch/main/examples/.env) from the Git repository
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
You can see the list of available commands with
|
|
|
|
```bash
|
|
|
|
./ovh-apikey-manager --help
|
|
|
|
```
|
2023-06-11 20:03:41 +02:00
|
|
|
|
2023-06-12 13:17:26 +02:00
|
|
|
## License
|
2023-06-11 20:03:41 +02:00
|
|
|
|
2023-06-12 13:17:26 +02:00
|
|
|
`ovh-apikey-manager` is available under the MIT license. See the LICENSE file for more info.
|