open-horizon / exchange-api

Horizon Exchange REST API Server
Apache License 2.0
11 stars 30 forks source link

Add enableNodeLevelSecrets attribute to secretBinding. #692

Closed naphelps closed 1 year ago

naphelps commented 1 year ago

Add enableNodeLevelSecrets attribute to secretBinding under deployment patterns and policies. The new attribute is a boolean with a default value of false.

"secretBinding": [
      {
          "serviceOrgid": "$HZN_ORG_ID",
          "serviceUrl": "$SERVICE_NAME",
          "serviceVersionRange": "0.0.1",
          "secrets": [
                 { "cloudAIservice": "aitoken"},                               
                 {  "cloudsqlservice": "user/{userid}/sqltoken"},
            ],
            "enableNodeLevelSecrets": true    <---------- this is the new field, default is false
       }
    ]