Skip to content

mise-plugins/mise-sops

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mise-sops

Sops plugin for the Mise version manager.

Based on asdf-sops.

Install

$ mise plugins install https://github.com/mise-plugins/mise-sops.git

Environment Activation

Automatically activate the SOPS environment when entering the directory with the following .mise.toml:

[tools]
sops = { version = "latest", filename = ".sops.env" }

If only some variables should be exported, then a name filter (separated by :) can be applied:

[tools]
sops = {
  version = "latest",
  filename = ".sops.env",
  names = "GITHUB_TOKEN:PYPI_TOKEN"
}

Note: The names filter can be any bash-compatible regular expression, such as [A-Z]+_TOKEN|AWS_[A-Z_]+ (matches are anchored between ^ and $ but can use | for alternation)

Additional filenames can be processed (last wins) by separating entries with :, e.g.:

[tools]
sops = { version = "latest", filename = ".foo.env:.bar.env" }

License

Licensed under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 93.9%
  • Makefile 6.1%