1
0
mirror of https://github.com/getsops/sotp.git synced 2026-02-05 09:45:59 +01:00
dependabot[bot] d0d0021d02 Bump actions/checkout from 4.2.2 to 5.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](11bd71901b...08c6903cd8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 15:01:14 +00:00
2020-03-31 10:49:36 -04:00
2020-03-27 15:26:21 -04:00
2023-06-29 22:19:20 +02:00
2023-06-29 23:40:45 +02:00
2024-12-25 18:21:28 +01:00
2020-03-27 15:26:21 -04:00

SOTP: Sops OTP

Small utility to store AWS TOTP secrets into Sops encrypted files and generate OTP on the command line.

Usage:

$ sotp test1
current one-time password is: 693190

Sotp reads it's configuration from config.yaml in the local directory. The config must be a valid Sops encrypted YAML file with the syntax:

accounts:
    - name: test1
      totpsecret: YAGQP5IP77OO3HMPS3D2KPMSNLNDIB7EO22EGAN3JEGE3DAR37Z2U5YDGKGN44VA
    - name: test2
      totpsecret: xyzabcd....
  • name is just a reference name that you'll use when invoking Sotp
  • totpsecret is a the secret seed you get from the Adding a virtual MFA screen in the AWS IAM console of a given user

aws_mfa_screen

Description
Get TOTP from the command line using TOTP secrets in Sops encrypted files.
Readme 622 KiB
Languages
Go 100%