15 lines
		
	
	
		
			617 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			617 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # This example uses YAML anchors which allows reuse of multiple keys
 | |
| # without having to repeat yourself.
 | |
| # Also see https://github.com/Mic92/dotfiles/blob/d6114726d859df36ccaa32891c4963ae5717ef7f/nixos/.sops.yaml
 | |
| # for a more complex example.
 | |
| keys:
 | |
|   - &remy_usb age1027e2vu808mvf95m4f0am3aeg88n8vgzt56s04ndpkgm7awzeajspxl6tu
 | |
|   - &remy_yoga age1t2stzdjfwrtekk23w43623fdvt9awdujth765f8l6mu9g6l4537q4gw8d0
 | |
|   # - &admin_bob age12zlz6lvcdk6eqaewfylg35w0syh58sm7gh53q5vvn7hd7c6nngyseftjxl
 | |
| creation_rules:
 | |
|   - path_regex: secrets/[^/]+\.(yaml|json|env|ini)$
 | |
|     key_groups:
 | |
|     - age:
 | |
|       - *remy_usb
 | |
|       - *remy_yoga
 |