https://github.com/infamousjoeg/authn-k8s-demo-app
A simple Golang-based application that echos environment variables given to it
https://github.com/infamousjoeg/authn-k8s-demo-app
conjur cyberark go golang
Last synced: 2 months ago
JSON representation
A simple Golang-based application that echos environment variables given to it
- Host: GitHub
- URL: https://github.com/infamousjoeg/authn-k8s-demo-app
- Owner: infamousjoeg
- License: mit
- Created: 2021-07-26T19:31:05.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-28T15:26:42.000Z (almost 4 years ago)
- Last Synced: 2025-01-30T12:16:39.981Z (4 months ago)
- Topics: conjur, cyberark, go, golang
- Language: Go
- Homepage: https://git.joeco.de/authn-k8s-demo-app/
- Size: 17.6 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](#environment-requirements)
- [How does it work?](#how-does-it-work)
- [Compiling](#compiling)
- [License](#license)## 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:
```shell
make build
```To build a binary for every OS and ARCH supported:
```shell
make compile
```All compiled binaries will be placed in the [bin/]() directory of this repository.
## License
MIT