4 "description": "This is a service that provides secret management facilities",
6 "title": "Secret Management Service",
8 "email": "kiran.k.kamineni@intel.com"
12 "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
15 "host": "aaf.onap.org:10443",
16 "basePath": "/v1/sms/",
20 "description": "Operations related to Secret Domains"
24 "description": "Operations related to Secrets"
36 "summary": "Add a new domain",
50 "$ref": "#/definitions/Domain"
56 "description": "Successful Creation",
58 "$ref": "#/definitions/Domain"
62 "description": "Invalid input"
65 "description": "Internal Server Error"
70 "/domain/{domainName}": {
75 "description": "Deletes a domain with provided name",
76 "summary": "Deletes a domain by name",
84 "description": "Name of the domain",
91 "description": "Successful Deletion"
94 "description": "Invalid Path or Path not found"
99 "/domain/{domainName}/secret": {
104 "summary": "Add a new secret",
114 "name": "domainName",
116 "description": "Name of the domain",
125 "$ref": "#/definitions/Secret"
131 "description": "Successful Creation"
134 "description": "Invalid Path or Path not found"
142 "description": "Gets all secret names in this domain",
143 "summary": "List secret Names in this domain",
149 "name": "domainName",
151 "description": "Name of the domain in which to look at",
158 "description": "Successful operation",
167 "description": "Array of strings referencing the secret names"
180 "description": "Invalid Path or Path not found"
185 "/domain/{domainName}/secret/{secretName}": {
190 "summary": "Find Secret by Name",
191 "description": "Returns a single secret",
197 "name": "domainName",
199 "description": "Name of the domain in which to look at",
204 "name": "secretName",
206 "description": "Name of the secret which is needed",
213 "description": "successful operation",
215 "$ref": "#/definitions/Secret"
219 "description": "Invalid Path or Path not found"
227 "summary": "Deletes a Secret",
234 "name": "secretName",
236 "description": "Name of Secret to Delete",
241 "name": "domainName",
244 "description": "Path to the SecretDomain which contains the Secret",
250 "description": "Successful Deletion"
253 "description": "Invalid Path or Path not found"
259 "securityDefinitions": {
283 "description": "Optional value provided by user. If user does not provide, server will auto generate"
287 "description": "Name of the secret domain under which all secrets will be stored"
296 "description": "Name of the secret"
299 "description": "Map of key value pairs that constitute the secret",
301 "additionalProperties": {
314 "description": "Find out more about Swagger",
315 "url": "http://swagger.io"