Secret Management Service API

domain

POST /domain

Add a new domain

  • Produces: [u’application/json’]
  • Description:
  • Consumes: [u’application/json’]

Parameters

Name Position Description Type
body body

Responses

201 - Successful Creation

500 - Internal Server Error

400 - Invalid input

DELETE /domain/{domainName}

Deletes a domain by name

  • Produces: [u’application/json’]
  • Description: Deletes a domain with provided name

Parameters

Name Position Description Type
domainName path Name of the domain string

Responses

404 - Invalid Path or Path not found

204 - Successful Deletion

secret

DELETE /domain/{domainName}/secret/{secretName}

Deletes a Secret

  • Produces: [u’application/json’]
  • Description:

Parameters

Name Position Description Type
secretName path Name of Secret to Delete string
domainName path Path to the SecretDomain which contains the Secret string

Responses

404 - Invalid Path or Path not found

204 - Successful Deletion

GET /domain/{domainName}/secret/{secretName}

Find Secret by Name

  • Produces: [u’application/json’]
  • Description: Returns a single secret

Parameters

Name Position Description Type
domainName path Name of the domain in which to look at string
secretName path Name of the secret which is needed string

Responses

200 - successful operation

404 - Invalid Path or Path not found

POST /domain/{domainName}/secret

Add a new secret

  • Produces: [u’application/json’]
  • Description:
  • Consumes: [u’application/json’]

Parameters

Name Position Description Type
domainName path Name of the domain string
body body

Responses

201 - Successful Creation

404 - Invalid Path or Path not found

GET /domain/{domainName}/secret

List secret Names in this domain

  • Produces: [u’application/json’]
  • Description: Gets all secret names in this domain

Parameters

Name Position Description Type
domainName path Name of the domain in which to look at string

Responses

200 - Successful operation

Name Description Type
secretnames Array of strings referencing the secret names array

404 - Invalid Path or Path not found