benammann/Decrypt Secret

Decrypts a secret from .git-secrets.json

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Aug 6, 2022
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: benammann/git-secrets-get-secret-action@2b54a49ee5f27c9463a2e4c2e617a7da05f5b3bb # v1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
filePath to .git-secrets.jsonno.git-secrets.json
contextWhich context to usenodefault
resourceResolve secret or config entrynosecret
nameThe name of the resourceyes
decryptSecretNameThe decrypt secret nameyes
decryptSecretValueThe decrypt secret valueyes
namedescription
valueeither the decoded secret value or the config value