Skip to content

A plugin for Unraid that allows for automatic array decryption, leveraging AWS Parameter Store

Notifications You must be signed in to change notification settings

djw4/unraid-plugin-luks-decryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building

  1. Setup environment variables

    mkdir lib/{bin,pkg,src}
    export GOPATH=$(pwd)/lib
    
  2. Install deps

    go install github.com/aws/aws-sdk-go@latest
  3. Build

    go build -o app .
    chmod +x ./app
  4. Run

    ./app -role-arn <aws-role-arn> -region <aws-region> -param-path <aws-ssm-param-path>

    The application will expect to find AWS credentials set from ENV, so ensure that the IAM user credentials have been set up correctly, and if necessary, export the correct AWS_PROFILE variable as well.

Testing

To test the application, set up the IAM role as before, then run the application directly without building:

go run app.go -role-arn <aws-role-arn> -region <aws-region> -param-path <aws-ssm-param-path> -key-path <some-local-path-for-testing>

About

A plugin for Unraid that allows for automatic array decryption, leveraging AWS Parameter Store

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages