summaryrefslogtreecommitdiffstats
path: root/docs/sections/installation/AAF-Integration-Guide.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/sections/installation/AAF-Integration-Guide.rst')
-rw-r--r--docs/sections/installation/AAF-Integration-Guide.rst72
1 files changed, 0 insertions, 72 deletions
diff --git a/docs/sections/installation/AAF-Integration-Guide.rst b/docs/sections/installation/AAF-Integration-Guide.rst
deleted file mode 100644
index 413b25cf..00000000
--- a/docs/sections/installation/AAF-Integration-Guide.rst
+++ /dev/null
@@ -1,72 +0,0 @@
-.. This work is licensed under a Creative Commons Attribution 4.0 International License.
-.. http://creativecommons.org/licenses/by/4.0
-.. Copyright © 2017 AT&T Intellectual Property. All rights reserved.
-
-AAF Integration Guide
-============================
-.. code:: bash
-
- cadi.properties Template
- # This is a normal Java Properties File
- # Comments are with Pound Signs at beginning of lines,
- # and multi-line expression of properties can be obtained by backslash at end of line
- #hostname=
-
- cadi_loglevel=WARN
- cadi_keyfile=conf/keyfile
-
-
- # Configure AAF
- aaf_url=http://172.18.0.2:8101
- #if you are running aaf service from a docker image you have to use aaf service IP and port number
- aaf_id=<yourAPPID>@onap.org
- aaf_password=enc:<encrypt>
-
- aaf_dme_timeout=5000
- # Note, User Expires for not Unit Test should be something like 900000 (15 mins) default is 10 mins
- # 15 seconds is so that Unit Tests don't delay compiles, etc
- aaf_user_expires=15000
- # High count... Rough top number of objects held in Cache per cycle. If high is reached, more are
- # recycled next time. Depending on Memory usage, 2000 is probably decent. 1000 is default
- aaf_high_count=100
-
-
-How to create CADI Keyfile & Encrypt Password
----------------------------------------------
-
-Password Encryption
--------------------
-CADI provides a method to encrypt data so that Passwords and other sensitive data can be stored safely.
-
-Keygen (Generate local Symmetrical Key)
-A Keyfile is created by Cadi Utility.
-
-.. code:: bash
-
- java -jar cadi-core-<version>.jar keygen <keyfile>
-Given this key file unlocks any passwords created, it should be stored in your configuration directory and protected with appropriate access permissions. For instance, if your container is Tomcat, and runs with a "tomcat" id, then you should:
-
-.. code:: bash
-
- java -jar cadi-core-<version>.jar keygen keyfile
- chmod 400 keyfile
- chown tomcat:tomcat keyfile
-
-Digest - Encrypt a Password
----------------------------
-The password is obtained by using the Cadi digest Utility (contained in the cadi-core-<version>.jar).
-
-.. code:: bash
-
- java -jar cadi-core-<version>.jar digest <your_password> <keyfile>
- • "<keyfile>" is created by Cadi Utility, #keygen
- • Understand that if you change the keyfile, then you need to rerun "digest" on passwords used in the users/groups definitions.
- • Note: You cannot mix versions of cadi; the version used to digest your password must be the same version used at runtime.
-
-CADI PROPERTIES
- CADI properties, typically named "cadi.properties", must have passwords encrypted.
- 1. Take the results of the "Digest" command and prepend "enc:"
- 2. Use this as the value of your property
-
-Example: aaf_password=enc:fMKMBfKHlRWL68cxD5XSIWNKRNYi5dih2LEHRFMIsut
-