https://github.com/xenit-eu/scw-2fa-init
A tool to initialize the Scaleway CLI with a short lived API key using 2 factor authentication.
https://github.com/xenit-eu/scw-2fa-init
2factor multifactor-authentication scaleway scaleway-cli
Last synced: about 2 months ago
JSON representation
A tool to initialize the Scaleway CLI with a short lived API key using 2 factor authentication.
- Host: GitHub
- URL: https://github.com/xenit-eu/scw-2fa-init
- Owner: xenit-eu
- Created: 2023-06-29T17:32:18.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-07T11:08:24.000Z (2 months ago)
- Last Synced: 2025-04-12T04:54:18.746Z (about 2 months ago)
- Topics: 2factor, multifactor-authentication, scaleway, scaleway-cli
- Language: Go
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scw-2fa-init
A tool to initialize the Scaleway CLI with a short lived API key using 2 factor authentication.The tool will ask your email, password, 2FA token, organization and the duration of the API Key. All parameters except password and 2FA token can be provided as parameters.
## Installation
As a prerequisite you will first need to install the [Scaleway CLI](https://github.com/scaleway/scaleway-cli).
To run download a binary found under [releases](https://github.com/thijslemmens/scw-2fa-init/releases).## Usage
```
$ ./scw-2fa-init -h
Usage of ./scw-2fa-init:
-duration int
Duration for the API key (in hours, max 8)
-email string
Email for the scaleway client
-org string
Organization for the scaleway client
```