create an app secret
POST /v1/apps/{app_id}/secret
POST
/v1/apps/{app_id}/secret
Create an app secret that can be used to configure components. To reference an app secret, use .nuon.secrets.<secret_name>
.
NOTE secrets can only be written, or deleted, not read.
Authorizations
Parameters
Path Parameters
app_id
required
string
App ID
Request Body
Input
object
name
required
string
value
required
string
Responses
201
Created
object
app_id
string
created_at
string
created_by_id
string
id
string
length
After query fields
integer
name
string
org_id
string
updated_at
string
400
Bad Request
object
description
string
error
string
user_error
boolean
401
Unauthorized
object
description
string
error
string
user_error
boolean
403
Forbidden
object
description
string
error
string
user_error
boolean
404
Not Found
object
description
string
error
string
user_error
boolean
500
Internal Server Error
object
description
string
error
string
user_error
boolean