Rohan Patel | 6f7e46b | 2019-09-25 14:35:28 -0400 | [diff] [blame] | 1 | You must setup environment variables to run and test locally
|
| 2 | These environment variables will be secretes when deployed on kubernetes.
|
| 3 | AAF_ID (mechid for cadi aaf)
|
| 4 | AAF_PASSWORD (password for mechid)
|
| 5 | CADI_KEYFILE (cadi keyfile location for aaf)
|
| 6 |
|
| 7 | Generate AAF_PASSWORD and CADI_KEYFILE:
|
| 8 | java -jar cadi-core-1.4.2.jar keygen keyfile
|
| 9 | java -jar cadi-core-1.4.2.jar digest AAF_MECHID_PASSWORD keyfile > digest.txt 2>&1
|
| 10 |
|
| 11 | AAF_PERM_TYPE (permission type to check for when authorization a user)
|
| 12 |
|
| 13 | |