Commit Graph

23 Commits

Author SHA1 Message Date
Jörg Thalheim
63bb9395fd automatically import secrets into nixos 2023-08-23 13:59:43 +02:00
Jörg Thalheim
c2ff6acef4 sops: pass empty manifest when decrypting 2023-08-10 12:08:17 +02:00
Jörg Thalheim
1f79a610d4 groups: add more api 2023-08-09 15:30:50 +02:00
Jörg Thalheim
e103a4186c add api for secret groups and decrypting secrets 2023-08-09 15:17:43 +02:00
Jörg Thalheim
6c169b0bed print nothing if secret collections are empty 2023-08-09 14:50:04 +02:00
Jörg Thalheim
c535cf78a1 add secret api for machines/users/secrets 2023-08-09 14:10:04 +02:00
Jörg Thalheim
2483e29819 users: seperate cli from library 2023-08-09 13:56:24 +02:00
Jörg Thalheim
9189c31def improve error message if users don't exist 2023-08-09 10:33:54 +02:00
Jörg Thalheim
3d5a37ad03 check for breakpoint() function in code 2023-08-09 10:21:59 +02:00
Jörg Thalheim
68905fc233 don't add user to a secret if they already can access the secret
If the user is part of a group we don't need to add them explicitly
2023-08-09 10:17:30 +02:00
Jörg Thalheim
2988532909 allow to set groups/admins/users when setting secrets 2023-08-08 19:40:35 +02:00
Jörg Thalheim
5ee620b77b only print names when listing existing users 2023-08-08 19:07:38 +02:00
Jörg Thalheim
504adb4f6d make error message nicer when members are not found 2023-08-08 19:05:32 +02:00
Jörg Thalheim
6f9aaef56a add option to import sops secrets with groups,users,machines,prefixes 2023-08-08 18:46:37 +02:00
Jörg Thalheim
efa0546da5 sops: make symlinks relative 2023-08-08 17:24:40 +02:00
Jörg Thalheim
35f2d6a76e add dummy sops manifest 2023-08-08 16:40:32 +02:00
Jörg Thalheim
d8c2df2e72 add test for import-sops command 2023-08-08 16:28:38 +02:00
Jörg Thalheim
1d1452ddd5 add import-sops command to secrets 2023-08-08 15:48:19 +02:00
Jörg Thalheim
0533948085 fix rotating keys with sops 2023-08-08 13:44:15 +02:00
Jörg Thalheim
ae4f36ecf9 clan-cli/sops: rename add_key to write_key 2023-08-03 14:58:51 +02:00
Jörg Thalheim
54e9d4427c fix cirular import 2023-08-03 11:07:17 +02:00
Jörg Thalheim
dab483339a test list/remove secret 2023-08-02 12:00:32 +00:00
Jörg Thalheim
658c76336f add secrets integration
clan-cli: also depend on age for secrets
2023-08-02 09:19:14 +00:00