1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3 .. Copyright 2018 Intel Corporation, Inc
10 This is the root where you will store your secrets.
14 curl -H "Accept: application/json" --cacert ca.pem --cert client.cert --key client.key
17 "name": "mysecretdomain"
19 https://aaf-sms.onap:10443/v1/sms/domain
27 Store a new secret in your created Domain.
28 Secrets have a name and a map containing key value pairs.
32 curl -H "Accept: application/json" --cacert ca.pem --cert client.cert --key client.key
39 "password": "mypassword"
42 https://aaf-sms.onap:10443/v1/sms/domain/<PREVIOUSLY CREATED DOMAIN NAME>/secret
48 **List all Secret Names in a Domain**
52 curl -H "Accept: application/json" --cacert ca.pem --cert client.cert --key client.key
54 https://aaf-sms.onap:10443/v1/sms/domain/<PREVIOUSLY CREATED DOMAIN NAME>/secret
60 **Get a previously stored Secret from Domain**
64 curl -H "Accept: application/json" --cacert ca.pem --cert client.cert --key client.key
66 https://aaf-sms.onap:10443/v1/sms/domain/<PREVIOUSLY CREATED DOMAIN NAME>/secret/<PREVIOUSLY CREATED SECRET NAME>
72 **Delete a Secret in specified Domain**
76 curl -H "Accept: application/json" --cacert ca.pem --cert client.cert --key client.key
78 https://aaf-sms.onap:10443/v1/sms/domain/<PREVIOUSLY CREATED DOMAIN NAME>/secret/<PREVIOUSLY CREATED SECRET NAME>
88 curl -H "Accept: application/json" --cacert ca.pem --cert client.cert --key client.key
90 https://aaf-sms.onap:10443/v1/sms/domain/<PREVIOUSLY CREATED DOMAIN NAME>