From 2a74897bfb3b943ca8794e7425692dbeeafd50b3 Mon Sep 17 00:00:00 2001
From: Kristian Klausen <kristian@klausen.dk>
Date: Sun, 29 May 2022 20:53:26 +0200
Subject: [PATCH] Add Vagrant Cloud account

Vagrant Cloud has been used for years by arch-boxes[1] for publishing
Vagrant boxes. Access to the organization[2] was handed out to a few
members of the DevOps team and the creator of the organization
(arch-boxes maintainer at the time).

With this commit the control of the organization is handed over to the
DevOps team through a new Vagrant Cloud account.

[1] https://gitlab.archlinux.org/archlinux/arch-boxes
[2] https://app.vagrantup.com/archlinux/
---
 docs/otp.md                         | 13 +++++++++++++
 misc/vaults/vault_vagrant_cloud.yml | 17 +++++++++++++++++
 2 files changed, 30 insertions(+)
 create mode 100644 misc/vaults/vault_vagrant_cloud.yml

diff --git a/docs/otp.md b/docs/otp.md
index 0fb49b141..c9a0a4c59 100644
--- a/docs/otp.md
+++ b/docs/otp.md
@@ -63,6 +63,19 @@ You can then run
 
 to generate a token to log in.
 
+## Vagrant Cloud
+
+Run
+
+    pass otp insert -i VagrantCloud -a archlinux VagrantCloud/archlinux-master-token -s
+
+When asked for a secret, provide the `vagrant_cloud_seed` from `misc/vaults/vault_vagrant_cloud.yml`.
+You can then run
+
+    pass otp code VagrantCloud/archlinux-master-token
+
+to generate a token to log in.
+
 ### Adding your own account
 
 Hetzner supports multiple 2FA devices at once which allows you to add your own 2FA app of choice
diff --git a/misc/vaults/vault_vagrant_cloud.yml b/misc/vaults/vault_vagrant_cloud.yml
new file mode 100644
index 000000000..5735a024f
--- /dev/null
+++ b/misc/vaults/vault_vagrant_cloud.yml
@@ -0,0 +1,17 @@
+$ANSIBLE_VAULT;1.2;AES256;super
+32373538343631336462343535333165343765393935323330643937376131653266633633353462
+3465623130366637633833366334643164656435396234650a316165313735323930626161373363
+32303839393339616663316464646466613364616535653365646337623837613039386130643961
+3262633239633665370a333762613961626664633134616536393262303135366434333637396432
+65366239663533303930623237383830666138393765353531636163353532383364343130336431
+37623139306635366663653539333264653064343265373138656165633933356364613035343733
+30663431656535376664633130316538363532616662323231303862356164643564353836346139
+33653130393032333338376366383064326639363537393865666466663465386364333030316632
+63393866663862376239343539396631656335623637356366626633643534663561646365326565
+64373037316436313463343064616433343137393839336332333462306263313531386261326337
+36663033373830346133333838316532373237633636376332666630363363613163623761363039
+62353439663165373330656561666464353433303732636236376465656233653237653363393065
+38666366643535646237313731346662396432343535623938346662656637663432393066363737
+37663534333534356536623764653263383537623837303032613136643036366633666363366632
+36363736643463373333386463663136316637656266613638656439313561663437636433373436
+33646236336636356237
-- 
GitLab