receiver

command
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2018 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Receiver

This app is use for getting the access & secret keys from parameter store and store it localy to :

  • gradle.properties
  • environment variables

You can choose one of them or both !

How to install

Make sure you have setup Go in your environtment

$ go get github.com/Gujarats/ark
$ cd $GOPATH/src/github.com/Gujarats/ark/app/receiver
$ go install

Basicly the app is already installed and ready to use, but for the env variable there is bit tricky to use this app. Please follow this required steps :

$ touch my-udpate-key
$ chmod +x my-update-key
$ vim my-update-key

#!/bin/bash
exec receiver

Add bash script to execute the app to avoid having a shell in a shell

Configuration

The configuration file is default location in .ark/config.yaml you can choose different type of config extension like JSON, YAML, TOML. Here is some config example using .yaml:

---
region : your-region 
profile : your-profile 
roleName : your-role-arn 
secretKey : ask your administrator to get the value from parameter store using defined key
accessKey : ask your administrator to get the value from parameter store using defined key
gradleAccessKey: ask your administrator what key to use 
gradleSecretKey: ask your administrator what key to use 
useGradleProperties : false
useEnvVariable : true

The rest of the config you can see in the config.go see what are the keys available

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL