Way to use secrets with NixOps4 #130

Closed
opened 2025-02-12 15:53:02 +01:00 by kiara · 3 comments
Owner

options:

  • use local-exec
  • use an existing age TF provider, c.f. #129
  • make a new NixOps provider using age Rust implementation rage
options: - use `local-exec` - use an existing age TF provider, c.f. #129 - make a new NixOps provider using age Rust implementation [`rage`](https://github.com/str4d/rage)
Author
Owner

/cc @roberth

/cc @roberth
Owner

So the goal here is to declare an age-encrypted secret as an input to other resources, decrypting it with the ops person's ambiently provided credentials (e.g. ~/.ssh), and something similar for fedi-panel's configured credentials.
Such workflows are already supported by age/rage. The part that is yet to be bridged is to have actual resources and/or providers that call age/rage to achieve this during nixops apply.

Also worth noting: this operation is stateless and can therefore be implemented before stateful resources are implemented in NixOps4.

So the goal here is to declare an age-encrypted secret as an input to other resources, decrypting it with the ops person's ambiently provided credentials (e.g. `~/.ssh`), and something similar for fedi-panel's configured credentials. Such workflows are already supported by `age`/`rage`. The part that is yet to be bridged is to have actual resources and/or providers that call `age`/`rage` to achieve this during `nixops apply`. Also worth noting: this operation is stateless and can therefore be implemented before stateful resources are implemented in NixOps4.
Author
Owner

superseded by #307

superseded by #307
kiara closed this issue 2025-04-14 11:08:20 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#296 orchestrator features
fediversity/fediversity
Reference
fediversity/fediversity#130
No description provided.