3 description: This is a service that provides secret management facilities
5 title: Secret Management Service
7 email: kiran.k.kamineni@intel.com
10 url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
11 host: 'aaf.onap.org:8000'
15 description: Operations related to username password based authentication
17 description: Operations related to Secret Domains
19 description: Operations related to Secrets
27 summary: "Login with username and password"
28 description: 'Operations related to logging in via username and Password'
29 operationId: loginUser
39 $ref: '#/definitions/Credential'
42 description: "Successful Login"
46 description: "Invalid Username or Password"
51 summary: Add a new domain
53 operationId: addDomain
63 $ref: '#/definitions/Domain'
66 description: Successful Creation
68 $ref: '#/definitions/Domain'
70 description: Invalid input
71 '/domain/{domainName}':
75 description: Gets domain information by name
76 operationId: getDomainByName
82 description: Name of the domain
87 description: successful operation
89 $ref: '#/definitions/Domain'
91 description: Invalid Path or Path not found
95 description: Deletes a domain with provided name
96 operationId: deleteDomainByName
102 description: Name of the domain
107 description: Successful Deletion
109 description: Invalid Path or Path not found
110 '/domain/{domainName}/secret':
114 summary: Add a new secret
116 operationId: addSecretInDomain
124 description: Name of the domain
131 $ref: '#/definitions/Secret'
134 description: Successful Creation
136 $ref: '#/definitions/Secret'
138 description: Invalid Path or Path not found
142 description: Gets all secrets in this domain
143 operationId: getAllSecretsInDomain
149 description: Name of the domain in which to look at
154 description: successful operation
158 $ref: '#/definitions/Secret'
160 description: Invalid Path or Path not found
161 '/domain/{domainName}/secret/{secretName}':
165 summary: Find Secret by Name
166 description: Returns a single secret
167 operationId: getSecretByName
173 description: Name of the domain in which to look at
178 description: Name of the secret which is needed
183 description: successful operation
185 $ref: '#/definitions/Secret'
187 description: Invalid Path or Path not found
191 summary: Deletes a Secret
193 operationId: deleteSecret
199 description: Name of Secret to Delete
205 description: Path to the SecretDomain which contains the Secret
209 description: Successful Deletion
211 description: Invalid Path or Path not found
226 Optional value provided by user. If user does not provide, server will
230 description: Name of the secret domain under which all secrets will be stored
236 description: Name of the secret
239 description: Array of key value pairs that constitute the secret
248 description: Find out more about Swagger
249 url: 'http://swagger.io'