/authn-k8s-demo-app

A simple Golang-based application that echos environment variables given to it

Primary LanguageGoMIT LicenseMIT

authn-k8s-demo-app

A simple Golang-based application that echos environment variables given to it on a continuous loop.

This is an updated version of go-app developed by Evan Litwak (@daswak).

Environment Requirements

CONJUR_USER_OBJECT The variable path to the username as it exists in Conjur.

CONJUR_PASS_OBJECT The variable path to the password as it exists in Conjur.

CONJUR_APPLIANCE The Base URL of the Conjur API service.

CONJUR_ACCOUNT The org account established during initial deployment of Conjur.

How does it work?

The application will first look for relevant Kubernetes Secrets to use, by default. If none are found, it is assumed that the CyberArk Conjur authn-k8s will be used for secure secrets retrieval.

NOTE: Italics denote "Under Development".

Compiling

To build a binary for your current environment:

make build

To build a binary for every OS and ARCH supported:

make compile

All compiled binaries will be placed in the bin/ directory of this repository.

License

MIT